diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-03-26 09:33:03 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-03-26 09:33:03 +0100 |
commit | 4574cf43b6626593825d1b3a1169e6de42f26bc8 (patch) | |
tree | 71b9dc2df69eb327eb4ce880e4149b3d1dd2d145 /sql/create_options.cc | |
parent | 1b468ca675c4b978f067a443e6cd0b3c14db68cc (diff) | |
download | mariadb-git-4574cf43b6626593825d1b3a1169e6de42f26bc8.tar.gz |
bug in HA_TOPTION_SYSVAR of the enum type - enum string was generated incorrectly
Diffstat (limited to 'sql/create_options.cc')
-rw-r--r-- | sql/create_options.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/create_options.cc b/sql/create_options.cc index d9b1d31fd62..d60639a4f4a 100644 --- a/sql/create_options.cc +++ b/sql/create_options.cc @@ -395,6 +395,7 @@ static bool resolve_sysvars(handlerton *hton, ha_create_table_option *rules) char buf[256]; String str(buf, sizeof(buf), system_charset_info); + str.length(0); for (const char **s= optp.typelib->type_names; *s; s++) { if (str.append(*s) || str.append(',')) |