Bug#31177: Server variables can't be set to their current values

initialise limits properly for getopt_ll_limit()
(fixes falcon_opt test)
This commit is contained in:
tnurnberg@sin.intern.azundris.com 2007-12-06 18:03:30 +01:00
parent d349effe11
commit 5cab4a77e1

View file

@ -2725,6 +2725,8 @@ bool sys_var_pluginvar::update(THD *thd, set_var *var)
static void plugin_opt_set_limits(struct my_option *options,
const struct st_mysql_sys_var *opt)
{
options->sub_size= 0;
switch (opt->flags & (PLUGIN_VAR_TYPEMASK |
PLUGIN_VAR_UNSIGNED | PLUGIN_VAR_THDLOCAL)) {
/* global system variables */