Below is the list of changes that have just been committed into a local
5.0 repository of tomas. When tomas 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-03-26 09:58:01+02:00, tomas@stripped +1 -0
Bug #26900 ndb_restore printout option does not give structured data
- set sizes for data
ndb/tools/restore/Restore.cpp@stripped, 2007-03-26 09:57:59+02:00,
tomas@stripped +5 -1
Bug #26900 ndb_restore printout option does not give structured data
- set sizes for data
# 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: tomas
# Host: whalegate.ndb.mysql.com
# Root: /home/tomas/mysql-5.0-ndb
--- 1.30/ndb/tools/restore/Restore.cpp 2007-03-07 07:18:01 +01:00
+++ 1.31/ndb/tools/restore/Restore.cpp 2007-03-26 09:57:59 +02:00
@@ -454,6 +454,7 @@
attr_data->null = false;
attr_data->void_value = ptr;
+ attr_data->size = 4*sz;
if(!Twiddle(attr_desc, attr_data))
{
@@ -475,6 +476,7 @@
attr_data->null = false;
attr_data->void_value = ptr;
+ attr_data->size = 4*sz;
if(!Twiddle(attr_desc, attr_data))
{
@@ -511,6 +513,7 @@
attr_data->null = false;
attr_data->void_value = &data->Data[0];
+ attr_data->size = sz*4;
/**
* Compute array size
@@ -979,7 +982,8 @@
}
NdbRecAttr tmprec(0);
- tmprec.setup(desc.m_column, (char *)data.void_value);
+ tmprec.setup(desc.m_column, 0);
+ tmprec.receive_data((Uint32*)data.void_value, (data.size+3)/4);
ndbrecattr_print_formatted(ndbout, tmprec, g_ndbrecord_print_format);
return ndbout;
| Thread |
|---|
| • bk commit into 5.0 tree (tomas:1.2416) BUG#26900 | tomas | 26 Mar |