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/alter_missing_tablespace.result |
# # Bug#13955083 ALLOW IN-PLACE DDL OPERATIONS ON MISSING # OR DISCARDED TABLESPACES # SET GLOBAL innodb_file_per_table=1; CREATE TABLE t(a INT)ENGINE=InnoDB; # restart SELECT * FROM t; ERROR HY000: Tablespace is missing for table `test`.`t`. ALTER TABLE t ADD INDEX (a), ALGORITHM=INPLACE; ERROR HY000: Tablespace is missing for table `test`.`t`. SHOW WARNINGS; Level Code Message Warning 1812 InnoDB: Tablespace is missing for table test/t. Error 1812 Tablespace is missing for table `test`.`t`. ALTER TABLE t1 ADD INDEX (a), ALGORITHM=COPY; ERROR 42S02: Table 'test.t1' doesn't exist SHOW WARNINGS; Level Code Message Error 1146 Table 'test.t1' doesn't exist ALTER TABLE t ALGORITHM=INPLACE, DISCARD TABLESPACE; ERROR 0A000: ALGORITHM=COPY/INPLACE is not supported for this operation. Try ALGORITHM=DEFAULT. ALTER TABLE t ALGORITHM=COPY, DISCARD TABLESPACE; ERROR 0A000: ALGORITHM=COPY/INPLACE is not supported for this operation. Try ALGORITHM=DEFAULT. ALTER TABLE t ALGORITHM=DEFAULT, DISCARD TABLESPACE; Warnings: Warning 1812 InnoDB: Tablespace is missing for table test/t. Warning 1812 InnoDB: Tablespace is missing for table test/t. ALTER TABLE t DISCARD TABLESPACE; Warnings: Warning 1812 InnoDB: Tablespace is missing for table test/t. DROP TABLE t; CREATE TABLE `x..d` (a INT PRIMARY KEY, b INT) ENGINE=InnoDB; INSERT INTO `x..d` (a) VALUES (1),(2),(3),(4),(5),(6),(7),(8); # restart select * from `x..d`; ERROR HY000: Tablespace is missing for table `test`.`x..d`. DROP TABLE `x..d`;