mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.2 into 10.3
This commit is contained in:
@ -6,6 +6,7 @@ SET @@GLOBAL.log_output='TABLE';
|
||||
FLUSH SLOW LOGS;
|
||||
SET @@GLOBAL.slow_query_log=ON;
|
||||
SET @@GLOBAL.log_slow_admin_statements=ON;
|
||||
SET @save_dbug = @@debug_dbug;
|
||||
SET SESSION debug_dbug="+d,simulate_slow_query";
|
||||
CREATE PROCEDURE show_slow_log()
|
||||
BEGIN
|
||||
@ -217,7 +218,7 @@ sql_text
|
||||
#
|
||||
# Clean up
|
||||
#
|
||||
SET SESSION debug_dbug="-d,simulate_slow_query";
|
||||
SET SESSION debug_dbug=@save_dbug;
|
||||
TRUNCATE mysql.slow_log;
|
||||
SET @@global.slow_query_log= @org_slow_query_log;
|
||||
SET @@global.log_output= @org_log_output;
|
||||
|
Reference in New Issue
Block a user