summaryrefslogtreecommitdiff
path: root/sql/sys_vars.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-02-19 12:06:37 +0100
committerSergei Golubchik <serg@mariadb.org>2016-02-23 10:46:16 +0100
commitd4b1425b604b8be9fc35cefe45d00cfecbac39e9 (patch)
tree9a04b4cf82a014cf42319ee6edde43f925b8c2cb /sql/sys_vars.cc
parentab2a9600a7b26cb6176e7fb62e029483fc821750 (diff)
downloadmariadb-git-d4b1425b604b8be9fc35cefe45d00cfecbac39e9.tar.gz
cleanup
* make a local variable for target_table->field[col] * move an often-used bit function to my_bit.h * remove a non-static and not really needed trivial comparison function with a very generic name
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r--sql/sys_vars.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index 42bcfa2ee95..403b6a5bec7 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -5069,7 +5069,7 @@ static Sys_var_set Sys_log_slow_filter(
"Log only certain types of queries",
SESSION_VAR(log_slow_filter), CMD_LINE(REQUIRED_ARG),
log_slow_filter_names,
- DEFAULT(MAX_SET(array_elements(log_slow_filter_names)-1)));
+ DEFAULT(my_set_bits(array_elements(log_slow_filter_names)-1)));
static const char *default_regex_flags_names[]=
{