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:
11
mysql-test/suite/innodb/r/missing_tablespaces.result
Normal file
11
mysql-test/suite/innodb/r/missing_tablespaces.result
Normal file
@ -0,0 +1,11 @@
|
||||
#
|
||||
# Bug#19419026 WHEN A TABLESPACE IS NOT FOUND, DO NOT REPORT "TABLE NOT FOUND"
|
||||
#
|
||||
CREATE DATABASE `..................................................`;
|
||||
USE `..................................................`;
|
||||
CREATE TABLE `..................................................` (ID INT)
|
||||
ENGINE=INNODB;
|
||||
select * from `..................................................`;
|
||||
ERROR HY000: Got error 194 "Tablespace is missing for a table" from storage engine InnoDB
|
||||
DROP TABLE `..................................................`;
|
||||
DROP DATABASE `..................................................`;
|
Reference in New Issue
Block a user