Commit 4574cf43 authored by Sergei Golubchik's avatar Sergei Golubchik

bug in HA_TOPTION_SYSVAR of the enum type - enum string was generated incorrectly

parent 1b468ca6
......@@ -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(','))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment