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:
@ -395,6 +395,7 @@ static bool resolve_sysvars(handlerton *hton, ha_create_table_option *rules)
|
|||||||
|
|
||||||
char buf[256];
|
char buf[256];
|
||||||
String str(buf, sizeof(buf), system_charset_info);
|
String str(buf, sizeof(buf), system_charset_info);
|
||||||
|
str.length(0);
|
||||||
for (const char **s= optp.typelib->type_names; *s; s++)
|
for (const char **s= optp.typelib->type_names; *s; s++)
|
||||||
{
|
{
|
||||||
if (str.append(*s) || str.append(','))
|
if (str.append(*s) || str.append(','))
|
||||||
|
Reference in New Issue
Block a user