mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Bug#31177: Server variables can't be set to their current values
initialise limits properly for getopt_ll_limit() (fixes falcon_opt test) sql/sql_plugin.cc: initialise limits properly for getopt_ll_limit()
This commit is contained in:
@@ -2725,6 +2725,8 @@ bool sys_var_pluginvar::update(THD *thd, set_var *var)
|
|||||||
static void plugin_opt_set_limits(struct my_option *options,
|
static void plugin_opt_set_limits(struct my_option *options,
|
||||||
const struct st_mysql_sys_var *opt)
|
const struct st_mysql_sys_var *opt)
|
||||||
{
|
{
|
||||||
|
options->sub_size= 0;
|
||||||
|
|
||||||
switch (opt->flags & (PLUGIN_VAR_TYPEMASK |
|
switch (opt->flags & (PLUGIN_VAR_TYPEMASK |
|
||||||
PLUGIN_VAR_UNSIGNED | PLUGIN_VAR_THDLOCAL)) {
|
PLUGIN_VAR_UNSIGNED | PLUGIN_VAR_THDLOCAL)) {
|
||||||
/* global system variables */
|
/* global system variables */
|
||||||
|
Reference in New Issue
Block a user