Commit f2716fa0 authored by unknown's avatar unknown

cast corrected


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