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-08-07 09:49:23+02:00, jonas@stripped +1 -0
ndb - online alter table
make sure to alloc space for bm_len on alter table
storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp@stripped, 2007-08-07 09:49:20+02:00, jonas@stripped +6 -0
Make sure to allocate space for bm_len in bitmap on alter table
# 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.2
--- 1.50/storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp 2007-08-07 09:49:29 +02:00
+++ 1.51/storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp 2007-08-07 09:49:29 +02:00
@@ -731,6 +731,12 @@
*/
Uint32 charsetIndex= regTabPtr->noOfCharsets;
Uint32 dyn_nullbits= regTabPtr->m_dyn_null_bits;
+ if (dyn_nullbits == 0)
+ {
+ jam();
+ dyn_nullbits = DYN_BM_LEN_BITS;
+ }
+
Uint32 noDynFix= regTabPtr->m_attributes[MM].m_no_of_dyn_fix;
Uint32 noDynVar= regTabPtr->m_attributes[MM].m_no_of_dyn_var;
Uint32 noDynamic= regTabPtr->m_attributes[MM].m_no_of_dynamic;
| Thread |
|---|
| • bk commit into 5.1 tree (jonas:1.2603) | jonas | 7 Aug |