1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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

This commit is contained in:
Sergei Golubchik
2014-03-26 09:33:03 +01:00
parent 1b468ca675
commit 4574cf43b6

View File

@ -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(','))