config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/query_rewrite_plugins/t/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/query_rewrite_plugins/t/logging_general.test

--echo #
--echo # Test of how rewritten queries are logged.
--echo #

--source suite/query_rewrite_plugins/include/have_plugin_rewriter.inc
--source suite/query_rewrite_plugins/include/install_rewriter.inc

INSERT INTO query_rewrite.rewrite_rules ( pattern, replacement  )
  VALUES ( 'SELECT"The_original_query"', 'SELECT"The_rewritten_query"');

CALL query_rewrite.flush_rewrite_rules();

--source suite/query_rewrite_plugins/include/setup_general_log.inc

SELECT 'The_original_query';

--source suite/query_rewrite_plugins/include/show_general_log.inc

--source suite/query_rewrite_plugins/include/uninstall_rewriter.inc
--remove_file $MYSQLTEST_VARDIR/log/rewrite_general.log

Man Man