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 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/query_rewrite_plugins/t/multiple.test |
--echo # --echo # Test of multiple query rewrite plugins. This will only work on an --echo # installation, where all plugins are in the same directory. --echo # --source suite/query_rewrite_plugins/include/have_plugin_rewriter.inc --source suite/query_rewrite_plugins/include/have_plugin_rewrite_example.inc --source suite/query_rewrite_plugins/include/install_rewriter.inc --source suite/query_rewrite_plugins/include/install_pre_parse_plugin.inc INSERT INTO query_rewrite.rewrite_rules ( pattern, replacement ) VALUES ( 'SELECT "abc"', 'SELECT "Rewritten"' ); CALL query_rewrite.flush_rewrite_rules(); SELECT * FROM query_rewrite.rewrite_rules; SELECT 'abc'; SELECT 'ABC'; UNINSTALL PLUGIN rewrite_example; --source suite/query_rewrite_plugins/include/uninstall_rewriter.inc