List:Commits« Previous MessageNext Message »
From:jonas Date:April 30 2007 9:28am
Subject:bk commit into 5.1 tree (jonas:1.2514)
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@stripped, 2007-04-30 09:28:48+02:00, jonas@stripped +3 -0
  Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
  into  perch.ndb.mysql.com:/home/jonas/src/telco-6.1
  MERGE: 1.2403.9.41

  storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp@stripped, 2007-04-30 09:28:44+02:00,
jonas@stripped +0 -0
    Auto merged
    MERGE: 1.129.1.8

  storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp@stripped, 2007-04-30 09:28:44+02:00,
jonas@stripped +0 -0
    Auto merged
    MERGE: 1.55.1.5

  storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp@stripped, 2007-04-30 09:28:44+02:00,
jonas@stripped +0 -0
    Auto merged
    MERGE: 1.50.1.4

# 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/telco-6.1/RESYNC

--- 1.143/storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp	2007-04-30 09:28:53 +02:00
+++ 1.144/storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp	2007-04-30 09:28:53 +02:00
@@ -1365,6 +1365,7 @@
       tupFragReq->noOfCharsets = addfragptr.p->noOfCharsets;
       tupFragReq->checksumIndicator = addfragptr.p->checksumIndicator;
       tupFragReq->globalCheckpointIdIndicator = addfragptr.p->GCPIndicator;
+      tupFragReq->forceVarPartFlag = addfragptr.p->forceVarPartFlag;      
       sendSignal(fragptr.p->tupBlockref, GSN_TUPFRAGREQ,
 		 signal, TupFragReq::SignalLength, JBB);
       return;

--- 1.61/storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp	2007-04-30 09:28:53 +02:00
+++ 1.62/storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp	2007-04-30 09:28:53 +02:00
@@ -899,7 +899,8 @@
     enum Bits
     {
       TR_Checksum = 0x1, // Need to be 1
-      TR_RowGCI   = 0x2
+      TR_RowGCI   = 0x2,
+      TR_ForceVarPart = 0x4
     };
     Uint16 m_bits;
     Uint16 total_rec_size; // Max total size for entire tuple in words

--- 1.56/storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp	2007-04-30 09:28:53 +02:00
+++ 1.57/storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp	2007-04-30 09:28:53 +02:00
@@ -1104,7 +1104,14 @@
   const Uint32 cnt1= regTabPtr->m_attributes[MM].m_no_of_varsize;
   const Uint32 cnt2= regTabPtr->m_attributes[DD].m_no_of_varsize;
   Uint32 *ptr= req_struct->m_tuple_ptr->get_end_of_fix_part_ptr(regTabPtr);
+  Var_part_ref* ref = req_struct->m_tuple_ptr->get_var_part_ref_ptr(regTabPtr);
 
+  if (regTabPtr->m_bits & Tablerec::TR_ForceVarPart)
+  {
+    ref->m_page_no = RNIL;
+    ref->m_page_idx = Tup_varsize_page::END_OF_FREE_LIST;
+  }
+  
   if(cnt1)
   {
     KeyReqStruct::Var_data* dst= &req_struct->m_var_data[MM];
Thread
bk commit into 5.1 tree (jonas:1.2514)jonas30 Apr