| 1 |
--source include/have_innodb.inc |
| 2 |
|
| 3 |
#Restarting not supported in embedded |
| 4 |
--source include/not_embedded.inc |
| 5 |
#Windows has trouble creating files/directories with long names |
| 6 |
--source include/not_windows.inc |
| 7 |
--source include/no_valgrind_without_big.inc |
| 8 |
|
| 9 |
--echo # |
| 10 |
--echo # Bug#19419026 WHEN A TABLESPACE IS NOT FOUND, DO NOT REPORT "TABLE NOT FOUND" |
| 11 |
--echo # |
| 12 |
|
| 13 |
#Create database and tablename with all special characters |
| 14 |
|
| 15 |
CREATE DATABASE `..................................................`; |
| 16 |
USE `..................................................`; |
| 17 |
CREATE TABLE `..................................................` (ID INT) |
| 18 |
ENGINE=INNODB; |
| 19 |
|
| 20 |
let $restart_noprint=2; |
| 21 |
--source include/shutdown_mysqld.inc |
| 22 |
|
| 23 |
--remove_file $MYSQLTEST_VARDIR/mysqld.1/data/@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e/@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@002e@[email protected] |
| 24 |
|
| 25 |
--source include/start_mysqld.inc |
| 26 |
|
| 27 |
--disable_query_log |
| 28 |
call mtr.add_suppression("\\[ERROR\\] InnoDB: Operating system error number 2 in a file operation."); |
| 29 |
call mtr.add_suppression("\\[ERROR\\] InnoDB: Error number \\d+ means"); |
| 30 |
call mtr.add_suppression("\\[ERROR\\] InnoDB: Cannot open datafile for read-only"); |
| 31 |
call mtr.add_suppression("\\[Warning\\] InnoDB: Ignoring tablespace .* because it could not be opened"); |
| 32 |
--enable_query_log |
| 33 |
|
| 34 |
--error ER_GET_ERRNO |
| 35 |
select * from `..................................................`; |
| 36 |
DROP TABLE `..................................................`; |
| 37 |
DROP DATABASE `..................................................`; |