Commit baf53c85 authored by serg@janus.mylan's avatar serg@janus.mylan

cast corrected

parent 97754ffa
......@@ -1622,8 +1622,8 @@ void sys_var_thd_ulong::set_default(THD *thd, enum_var_type type)
bool not_used;
/* We will not come here if option_limits is not set */
global_system_variables.*offset=
(ulonglong) getopt_ull_limit_value((ulong) option_limits->def_value,
option_limits, &not_used);
(ulong) getopt_ull_limit_value((ulong) option_limits->def_value,
option_limits, &not_used);
}
else
thd->variables.*offset= global_system_variables.*offset;
......
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