MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:jonas Date:April 12 2007 3:12pm
Subject:bk commit into 5.1 tree (jonas:1.2527)
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-12 17:12:30+02:00, jonas@stripped +1 -0
  ndb - readpacked
    yet anther bug in uint32 -> uint8 conversion

  storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp@stripped, 2007-04-12 17:12:28+02:00, jonas@stripped +2 -2
    yet anther bug in uint32 -> uint8 conversion

# 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/51-telco-rp

--- 1.41/storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp	2007-04-12 17:12:36 +02:00
+++ 1.42/storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp	2007-04-12 17:12:36 +02:00
@@ -2507,7 +2507,7 @@
   Uint32 bitCount = 
     AttributeDescriptor::getArraySize(req_struct->attr_descriptor);
   Uint32 indexBuf = req_struct->out_buf_index;
-  Uint32 newIndexBuf = indexBuf + ((bitCount + 31) >> 5);
+  Uint32 newIndexBuf = indexBuf + 4 * ((bitCount + 31) >> 5);
   Uint32 maxRead = req_struct->max_read;
   Uint32 *bits= req_struct->m_disk_ptr->get_null_bits(regTabPtr, DD);
   if (newIndexBuf <= maxRead) {
@@ -2538,7 +2538,7 @@
     AttributeDescriptor::getArraySize(req_struct->attr_descriptor);
   
   Uint32 indexBuf = req_struct->out_buf_index;
-  Uint32 newIndexBuf = indexBuf + ((bitCount + 31) >> 5);
+  Uint32 newIndexBuf = indexBuf + 4 * ((bitCount + 31) >> 5);
   Uint32 maxRead = req_struct->max_read;
   Uint32 *bits= req_struct->m_disk_ptr->get_null_bits(regTabPtr, DD);
   
Thread
bk commit into 5.1 tree (jonas:1.2527)jonas12 Apr