Commit fd3333c1 authored by unknown's avatar unknown

Merge Arjen's fix for new slow log functionality.

parents e244cdaf 49e21237
...@@ -8429,7 +8429,7 @@ mysqld_get_one_option(int optid, ...@@ -8429,7 +8429,7 @@ mysqld_get_one_option(int optid,
break; break;
case OPT_LOG_SLOW_FILTER: case OPT_LOG_SLOW_FILTER:
global_system_variables.log_slow_filter= global_system_variables.log_slow_filter=
find_bit_type_or_exit(argument, &log_slow_verbosity_typelib, find_bit_type_or_exit(argument, &log_slow_filter_typelib,
opt->name, &error); opt->name, &error);
/* /*
If we are using filters, we set opt_slow_admin_statements to be always If we are using filters, we set opt_slow_admin_statements to be always
...@@ -8441,7 +8441,7 @@ mysqld_get_one_option(int optid, ...@@ -8441,7 +8441,7 @@ mysqld_get_one_option(int optid,
break; break;
case OPT_LOG_SLOW_VERBOSITY: case OPT_LOG_SLOW_VERBOSITY:
global_system_variables.log_slow_verbosity= global_system_variables.log_slow_verbosity=
find_bit_type_or_exit(argument, &log_slow_filter_typelib, find_bit_type_or_exit(argument, &log_slow_verbosity_typelib,
opt->name, &error); opt->name, &error);
if (error) if (error)
return 1; return 1;
......
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