mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 00:54:30 +02:00
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 changes
This commit is contained in:
parent
7375f025ee
commit
e2b2bde358
21 changed files with 145 additions and 69 deletions
|
|
@ -80,7 +80,7 @@ extern CHARSET_INFO *character_set_filesystem;
|
|||
extern MY_BITMAP temp_pool;
|
||||
extern bool opt_large_files, server_id_supplied;
|
||||
extern bool opt_update_log, opt_bin_log, opt_error_log;
|
||||
extern my_bool opt_log, opt_slow_log, opt_bootstrap;
|
||||
extern my_bool opt_log, opt_bootstrap;
|
||||
extern my_bool opt_backup_history_log;
|
||||
extern my_bool opt_backup_progress_log;
|
||||
extern ulonglong log_output_options;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue