mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
1efdd5a572
(and to follow the naming conventons). keep old debug variable, but mark it as deprecated.
24 lines
848 B
Text
24 lines
848 B
Text
SET @old_general_log= @@global.general_log;
|
|
SET @old_general_log_file= @@global.general_log_file;
|
|
SET @old_slow_query_log= @@global.slow_query_log;
|
|
SET @old_slow_query_log_file= @@global.slow_query_log_file;
|
|
#
|
|
# Bug#45387 Information about statement id for prepared
|
|
# statements missed from general log
|
|
#
|
|
SET @@global.general_log = ON;
|
|
SET @@global.general_log_file = 'bug45387_general.log';
|
|
SET SESSION debug_dbug='+d,reset_log_last_time';
|
|
FLUSH LOGS;
|
|
SET @@global.general_log = @old_general_log;
|
|
SET @@global.general_log_file = @old_general_log_file;
|
|
SET SESSION debug_dbug='-d';
|
|
Bug#45387: ID match.
|
|
End of 5.1 tests
|
|
#
|
|
# Cleanup
|
|
#
|
|
SET global general_log = @old_general_log;
|
|
SET global general_log_file = @old_general_log_file;
|
|
SET global slow_query_log = @old_slow_query_log;
|
|
SET global slow_query_log_file = @old_slow_query_log_file;
|