mysql-test/suite/query_rewrite_plugins/include/setup_general_log.inc
raw| 1 | SET @old_log_output= @@global.log_output; |
| 2 | SET @old_general_log= @@global.general_log; |
| 3 | SET @old_general_log_file= @@global.general_log_file; |
| 4 | |
| 5 | --replace_result $MYSQLTEST_VARDIR ... |
| 6 | eval SET GLOBAL general_log_file = '$MYSQLTEST_VARDIR/log/rewrite_general.log'; |
| 7 | SET GLOBAL log_output = 'FILE,TABLE'; |
| 8 | SET GLOBAL general_log= 'ON'; |