summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
authorunknown <tulin@dl145c.mysql.com>2005-09-14 11:41:36 +0200
committerunknown <tulin@dl145c.mysql.com>2005-09-14 11:41:36 +0200
commitf435b540f0d42f667766044e11993ccdde52326e (patch)
treecdf7a277d5b2f5ce6adf1b68c44556836643b7ff /sql/table.cc
parent4a4fac29a5b6e4b858fd05fc86b3c63067bd0f8b (diff)
downloadmariadb-git-f435b540f0d42f667766044e11993ccdde52326e.tar.gz
Bug #13152 bit fields and fileds that follow become corrupted when dumped from NDB tables
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/table.cc b/sql/table.cc
index 6ac5e07daf1..52521755b69 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -287,6 +287,8 @@ int openfrm(THD *thd, const char *name, const char *alias, uint db_stat,
keynames=(char*) key_part;
strpos+= (strmov(keynames, (char *) strpos) - keynames)+1;
+ share->null_bytes == (null_pos-(uchar*)outparam->null_flags + (null_bit_pos + 7) / 8);
+
share->reclength = uint2korr((head+16));
if (*(head+26) == 1)
share->system= 1; /* one-record-database */