config root man

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

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/r/rules_table.result

#
# Test of a rules table with columns in different order.
#
# Here we create a rules table with columns in different order.
CREATE DATABASE query_rewrite;
CREATE TABLE IF NOT EXISTS query_rewrite.rewrite_rules (
pattern_database VARCHAR(20),
enabled ENUM('YES', 'NO') CHARACTER SET utf8 COLLATE utf8_bin NOT NULL
DEFAULT 'YES',
replacement VARCHAR(10000),
message VARCHAR(1000),
pattern VARCHAR(10000)
);
Warnings:
Note	1007	Can't create database 'query_rewrite'; database exists
Warnings:
Note	1050	Table 'rewrite_rules' already exists
Warnings:
Warning	1681	'RESET QUERY CACHE' is deprecated and will be removed in a future release.
Warnings:
Warning	1681	'RESET QUERY CACHE' is deprecated and will be removed in a future release.
# Query rewrite plugin was installed.
INSERT INTO query_rewrite.rewrite_rules ( pattern, replacement )
VALUES ( 'SELECT "rewrite me"', 'SELECT "rewritten"' );
CALL query_rewrite.flush_rewrite_rules();
Warnings:
Warning	1681	'RESET QUERY CACHE' is deprecated and will be removed in a future release.
SELECT pattern, pattern_database, replacement, message
FROM query_rewrite.rewrite_rules;
pattern	pattern_database	replacement	message
SELECT "rewrite me"	NULL	SELECT "rewritten"	NULL
SELECT "rewrite me";
rewritten
rewritten
Warnings:
Note	1105	Query 'SELECT "rewrite me"' rewritten to 'SELECT "rewritten"' by a query rewrite plugin
Warnings:
Warning	1620	Plugin is busy and will be uninstalled on shutdown
# Query rewrite plugin was queued for uninstalling.

Man Man