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/optional_columns.test

--echo #
--echo # Tests that the optional column columns work both of they are present
--echo # and absent. PATTERN_DIGEST and NORMALIZED_PATTERN are optional write-
--echo # only columns that are not present by default. The MESSAGE column is
--echo # optional, but included in the install script by default.
--echo #

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

--echo #
--echo # Testing with PATTERN_DIGEST and NORMALIZED_PATTERN columns.
--echo #
--source suite/query_rewrite_plugins/include/basic.inc
DELETE FROM query_rewrite.rewrite_rules;

--echo #
--echo # Testing with a NORMALIZED_PATTERN column.
--echo #
ALTER TABLE query_rewrite.rewrite_rules DROP COLUMN pattern_digest;
--source suite/query_rewrite_plugins/include/basic.inc
DELETE FROM query_rewrite.rewrite_rules;

--echo #
--echo # Testing with a NORMALIZED_PATTERN column but no MESSAGE column.
--echo #
ALTER TABLE query_rewrite.rewrite_rules DROP COLUMN message;
--source suite/query_rewrite_plugins/include/basic.inc
DELETE FROM query_rewrite.rewrite_rules;

--echo #
--echo # Testing with no optional columns.
--echo #
ALTER TABLE query_rewrite.rewrite_rules DROP COLUMN normalized_pattern;
--source suite/query_rewrite_plugins/include/basic.inc
DELETE FROM query_rewrite.rewrite_rules;

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

Man Man