mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
cast corrected
This commit is contained in:
parent
97754ffae7
commit
baf53c8524
1 changed files with 2 additions and 2 deletions
|
@ -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, ¬_used);
|
||||
(ulong) getopt_ull_limit_value((ulong) option_limits->def_value,
|
||||
option_limits, ¬_used);
|
||||
}
|
||||
else
|
||||
thd->variables.*offset= global_system_variables.*offset;
|
||||
|
|
Loading…
Add table
Reference in a new issue