Browse Source
Made sql_log_slow a session variable
Made sql_log_slow a session variable
mysqldump: - Added --log-queries to allow one to disable logging for the dump sql/log_event.cc: - Removed setting of enable_slow_log as it's not required anymore. sql/sql_parse.cc: - Set enable_slow_log to value of thd->variables.sql_log_slow as this will speed up tests if slow log is disabled. - opt_log_slow_admin_statements can now only disable slow log, not enable it. sql/sql_explain.cc: - Minor cleanup Other things: - Added sql_log_slow to system variables. - Changed opt_slow_log to global_system_variables.sql_log_slow in all files - Updated tests to reflect changespull/9/head
21 changed files with 145 additions and 69 deletions
-
10client/mysqldump.c
-
13mysql-test/r/log_state.result
-
10mysql-test/r/mysqldump.result
-
16mysql-test/suite/sys_vars/r/slow_query_log_basic.result
-
14mysql-test/suite/sys_vars/r/slow_query_log_func.result
-
15mysql-test/suite/sys_vars/t/slow_query_log_basic.test
-
15mysql-test/suite/sys_vars/t/slow_query_log_func.test
-
8mysql-test/t/log_state.test
-
15mysql-test/t/mysqldump.test
-
18sql/log.cc
-
13sql/log_event.cc
-
23sql/mysqld.cc
-
2sql/mysqld.h
-
2sql/rpl_parallel.cc
-
2sql/slave.cc
-
7sql/sql_class.h
-
2sql/sql_explain.cc
-
11sql/sql_parse.cc
-
2sql/sql_prepare.cc
-
2sql/sql_reload.cc
-
14sql/sys_vars.cc
Write
Preview
Loading…
Cancel
Save
Reference in new issue