config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/innodb/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/innodb/t/rename_table.test

--source include/have_innodb.inc
--source include/not_embedded.inc

DROP DATABASE IF EXISTS test_jfg2;
DROP DATABASE IF EXISTS test_jfg;

CREATE DATABASE test_jfg;
CREATE DATABASE test_jfg2;
CREATE TABLE test_jfg.test (a int unsigned NOT NULL PRIMARY KEY);
RENAME TABLE test_jfg.test TO test_jfg2.test;

--replace_column 1 #
SELECT * FROM INFORMATION_SCHEMA.INNODB_SYS_DATAFILES WHERE PATH LIKE "%test%";

DROP DATABASE test_jfg;

let $restart_parameters = restart;
--source include/restart_mysqld.inc

DROP DATABASE test_jfg2;

CREATE DATABASE abc_def;
CREATE DATABASE abc_def2;

CREATE TABLE abc_def.test (a int unsigned NOT NULL PRIMARY KEY);
RENAME TABLE abc_def.test TO abc_def2.test1;

--replace_column 1 #
SELECT * FROM INFORMATION_SCHEMA.INNODB_SYS_DATAFILES WHERE PATH LIKE "%test%";

DROP DATABASE abc_def;

let $restart_parameters = restart;
--source include/restart_mysqld.inc

DROP DATABASE abc_def2;

Man Man