From 1b5eb117f507da68c230651bf63b6096e86a70f6 Mon Sep 17 00:00:00 2001 From: "tulin@dl145c.mysql.com" <> Date: Wed, 14 Sep 2005 13:24:41 +0200 Subject: [PATCH] (corrected typo in prev patch) Bug #13152 bit fields and fileds that follow become corrupted when dumped from NDB --- sql/table.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/table.cc b/sql/table.cc index 52521755b69..be89081af8c 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -287,7 +287,7 @@ 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->null_bytes= (null_pos-(uchar*)outparam->null_flags + (null_bit_pos + 7) / 8); share->reclength = uint2korr((head+16)); if (*(head+26) == 1)