List:Commits« Previous MessageNext Message »
From:jonas Date:February 7 2006 11:27am
Subject:bk commit into 5.1 tree (jonas:1.2074) BUG#16924
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of jonas. When jonas does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2074 06/02/07 11:27:11 jonas@stripped +1 -0
  bug#16924 - ndb - insert wo/ specifying null on varsize attribute
    init both pos and len

  storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
    1.30 06/02/07 11:27:08 jonas@stripped +4 -1
    init both pos and len

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	jonas
# Host:	perch.ndb.mysql.com
# Root:	/home/jonas/src/mysql-5.1-new

--- 1.29/storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp	2006-02-02 12:23:19 +01:00
+++ 1.30/storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp	2006-02-07 11:27:08 +01:00
@@ -1114,9 +1114,12 @@
     ptr= ALIGN_WORD(dst->m_data_ptr+regTabPtr->m_offsets[MM].m_max_var_offset);
     order += regTabPtr->m_attributes[MM].m_no_of_fixsize;
     Uint32 pos= 0;
+    Uint16 *pos_ptr = req_struct->var_pos_array;
+    Uint16 *len_ptr = pos_ptr + cnt1;
     for(Uint32 i= 0; i<cnt1; i++)
     {
-      dst->m_offset_array_ptr[i]= pos;
+      * pos_ptr++ = pos;
+      * len_ptr++ = pos;
       pos += AttributeDescriptor::getSizeInBytes(tab_descr[*order++].tabDescr);
     }
   } 
Thread
bk commit into 5.1 tree (jonas:1.2074) BUG#16924jonas7 Feb