Commit 07daf699 authored by kostja@vajra.(none)'s avatar kostja@vajra.(none)

Fix a compile failure on Windows.

parent 9c6e4c86
...@@ -3683,7 +3683,7 @@ byte *sys_var_thd_sql_mode::value_ptr(THD *thd, enum_var_type type, ...@@ -3683,7 +3683,7 @@ byte *sys_var_thd_sql_mode::value_ptr(THD *thd, enum_var_type type,
ulonglong val= ((type == OPT_GLOBAL) ? global_system_variables.*offset : ulonglong val= ((type == OPT_GLOBAL) ? global_system_variables.*offset :
thd->variables.*offset); thd->variables.*offset);
(void) symbolic_mode_representation(thd, val, &sql_mode); (void) symbolic_mode_representation(thd, val, &sql_mode);
return sql_mode.str; return (byte *) sql_mode.str;
} }
......
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