summaryrefslogtreecommitdiff
path: root/mysql-test/main/log_tables_debug.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/log_tables_debug.result')
-rw-r--r--mysql-test/main/log_tables_debug.result24
1 files changed, 24 insertions, 0 deletions
diff --git a/mysql-test/main/log_tables_debug.result b/mysql-test/main/log_tables_debug.result
new file mode 100644
index 00000000000..39983339572
--- /dev/null
+++ b/mysql-test/main/log_tables_debug.result
@@ -0,0 +1,24 @@
+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;