| 1 |
--source include/have_innodb.inc |
| 2 |
--source include/not_embedded.inc |
| 3 |
|
| 4 |
call mtr.add_suppression("InnoDB: Operating system error number "); |
| 5 |
call mtr.add_suppression("InnoDB: (Error number \\d+ means|If you are|Cannot open datafile) "); |
| 6 |
call mtr.add_suppression("InnoDB: Ignoring tablespace for test/t "); |
| 7 |
call mtr.add_suppression("InnoDB: Table test/t .* does not exist"); |
| 8 |
|
| 9 |
CREATE TABLE t (a SERIAL) ENGINE=InnoDB; |
| 10 |
INSERT INTO t() VALUES(); |
| 11 |
SHOW CREATE TABLE t; |
| 12 |
let $datadir=`select @@datadir`; |
| 13 |
|
| 14 |
--source include/shutdown_mysqld.inc |
| 15 |
--remove_file $datadir/test/t.ibd |
| 16 |
--source include/start_mysqld.inc |
| 17 |
|
| 18 |
--error ER_GET_ERRNO |
| 19 |
SELECT * FROM t; |
| 20 |
--error ER_GET_ERRNO |
| 21 |
TRUNCATE TABLE t; |
| 22 |
DROP TABLE t; |