diff options
Diffstat (limited to 'mysql-test/include/log_slow_prepare.inc')
-rw-r--r-- | mysql-test/include/log_slow_prepare.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/include/log_slow_prepare.inc b/mysql-test/include/log_slow_prepare.inc new file mode 100644 index 00000000..7abc56b7 --- /dev/null +++ b/mysql-test/include/log_slow_prepare.inc @@ -0,0 +1,8 @@ +--disable_query_log +--let slow_query_log_old= `select @@slow_query_log` +--let slow_query_log_file_old= `select @@slow_query_log_file` +--let log_output_old= `select @@log_output` + +SET GLOBAL slow_query_log=0; +SET GLOBAL log_output=FILE; +--enable_query_log |