diff options
author | tnurnberg@white.intern.koehntopp.de <> | 2007-11-26 09:19:30 +0100 |
---|---|---|
committer | tnurnberg@white.intern.koehntopp.de <> | 2007-11-26 09:19:30 +0100 |
commit | 72cd3636652a562a7d702fa1282e225da610bba6 (patch) | |
tree | 04b3a63eff036ac7a73739d3a0f05402d87deecd /sql/unireg.cc | |
parent | f1f9e2313bcd142ee724e037bde4b817b0b8fb17 (diff) | |
parent | 883338a9498d6a02cdb6de102abad58f9f49575a (diff) | |
download | mariadb-git-72cd3636652a562a7d702fa1282e225da610bba6.tar.gz |
Merge mysql.com:/misc/mysql/31752_/50-31752_
into mysql.com:/misc/mysql/31752_/51-31752_
Diffstat (limited to 'sql/unireg.cc')
-rw-r--r-- | sql/unireg.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/unireg.cc b/sql/unireg.cc index f2238d69973..8f2d10d4e2a 100644 --- a/sql/unireg.cc +++ b/sql/unireg.cc @@ -227,6 +227,9 @@ bool mysql_create_frm(THD *thd, const char *file_name, strmake((char*) forminfo+47, create_info->comment.str ? create_info->comment.str : "", create_info->comment.length); forminfo[46]=(uchar) create_info->comment.length; +#ifdef EXTRA_DEBUG + memset((char*) forminfo+47 + forminfo[46], 0, 61 - forminfo[46]); +#endif #ifdef WITH_PARTITION_STORAGE_ENGINE if (part_info) { |