List:Internals« Previous MessageNext Message »
From:Stewart Smith Date:June 7 2005 2:39am
Subject:bk commit into 5.0 tree (stewart:1.1927)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of stewart. When stewart 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.1927 05/06/07 12:39:22 stewart@stripped +1 -0
  merge

  ndb/src/ndbapi/DictCache.cpp
    1.13 05/06/07 12:39:15 stewart@stripped +0 -1
    merge

# 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:	stewart
# Host:	kennedy.(none)
# Root:	/home/stewart/Documents/MySQL/5.0/main/RESYNC

--- 1.12/ndb/src/ndbapi/DictCache.cpp	2005-03-29 19:37:33 +10:00
+++ 1.13/ndb/src/ndbapi/DictCache.cpp	2005-06-07 12:39:15 +10:00
@@ -24,7 +24,8 @@
 Ndb_local_table_info *
 Ndb_local_table_info::create(NdbTableImpl *table_impl, Uint32 sz)
 {
-  Uint32 tot_size= sizeof(NdbTableImpl *) + ((sz+7) & ~7); // round to Uint64
+  Uint32 tot_size= sizeof(Ndb_local_table_info) - sizeof(Uint64)
+    + ((sz+7) & ~7); // round to Uint64
   void *data= malloc(tot_size);
   if (data == 0)
     return 0;
Thread
bk commit into 5.0 tree (stewart:1.1927)Stewart Smith7 Jun