1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-19886 InnoDB returns misleading ER_NO_SUCH_TABLE_IN_ENGINE

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"
This commit is contained in:
Marko Mäkelä
2019-06-27 15:39:04 +03:00
parent 6d2b236568
commit 92feac53a6
9 changed files with 74 additions and 30 deletions

View File

@ -11,7 +11,7 @@ t CREATE TABLE `t` (
UNIQUE KEY `a` (`a`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1
SELECT * FROM t;
ERROR 42S02: Table 'test.t' doesn't exist in engine
ERROR HY000: Got error 194 "Tablespace is missing for a table" from storage engine InnoDB
TRUNCATE TABLE t;
ERROR 42S02: Table 'test.t' doesn't exist in engine
ERROR HY000: Got error 194 "Tablespace is missing for a table" from storage engine InnoDB
DROP TABLE t;