Commit 0c16a602 authored by unknown's avatar unknown

warning on windows

parent 172a33be
......@@ -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=
getopt_ull_limit_value((ulong) option_limits->def_value,
option_limits, &not_used);
(ulonglong) 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