mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
92feac53a6
A fix in MySQL 5.7.6 was not completely merged to MariaDB: Bug#19419026 WHEN A TABLESPACE IS NOT FOUND, DO NOT REPORT "TABLE NOT FOUND"
22 lines
685 B
Text
22 lines
685 B
Text
--source include/have_innodb.inc
|
|
--source include/not_embedded.inc
|
|
|
|
call mtr.add_suppression("InnoDB: Operating system error number ");
|
|
call mtr.add_suppression("InnoDB: (The error means|If you are|Cannot open datafile) ");
|
|
call mtr.add_suppression("InnoDB: Ignoring tablespace for `test`\.`t`");
|
|
call mtr.add_suppression("InnoDB: Table test/t .* does not exist");
|
|
|
|
CREATE TABLE t (a SERIAL) ENGINE=InnoDB;
|
|
INSERT INTO t() VALUES();
|
|
SHOW CREATE TABLE t;
|
|
let $datadir=`select @@datadir`;
|
|
|
|
--source include/shutdown_mysqld.inc
|
|
--remove_file $datadir/test/t.ibd
|
|
--source include/start_mysqld.inc
|
|
|
|
--error ER_GET_ERRNO
|
|
SELECT * FROM t;
|
|
--error ER_GET_ERRNO
|
|
TRUNCATE TABLE t;
|
|
DROP TABLE t;
|