Current Path : /home/usr.opt/mysql57/mysql-test/suite/innodb/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 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/innodb/r/rename_table.result |
DROP DATABASE IF EXISTS test_jfg2; Warnings: Note 1008 Can't drop database 'test_jfg2'; database doesn't exist DROP DATABASE IF EXISTS test_jfg; Warnings: Note 1008 Can't drop database 'test_jfg'; database doesn't exist 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; SELECT * FROM INFORMATION_SCHEMA.INNODB_SYS_DATAFILES WHERE PATH LIKE "%test%"; SPACE PATH # ./test_jfg2/test.ibd DROP DATABASE test_jfg; # restart 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; SELECT * FROM INFORMATION_SCHEMA.INNODB_SYS_DATAFILES WHERE PATH LIKE "%test%"; SPACE PATH # ./abc_def2/test1.ibd DROP DATABASE abc_def; # restart DROP DATABASE abc_def2;