mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	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"
		
			
				
	
	
		
			37 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| --source include/have_innodb.inc
 | |
| 
 | |
| #Restarting not supported in embedded
 | |
| --source include/not_embedded.inc
 | |
| #Windows has trouble creating files/directories with long names
 | |
| --source include/not_windows.inc
 | |
| 
 | |
| --echo #
 | |
| --echo # Bug#19419026 WHEN A TABLESPACE IS NOT FOUND, DO NOT REPORT "TABLE NOT FOUND"
 | |
| --echo #
 | |
| 
 | |
| #Create database and tablename with all special characters
 | |
| 
 | |
| CREATE DATABASE `..................................................`;
 | |
| USE `..................................................`;
 | |
| CREATE TABLE `..................................................` (ID INT)
 | |
| ENGINE=INNODB;
 | |
| 
 | |
| --source include/shutdown_mysqld.inc
 | |
| 
 | |
| --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@002e@002e.ibd
 | |
| 
 | |
| --source include/start_mysqld.inc
 | |
| 
 | |
| --disable_query_log
 | |
| call mtr.add_suppression("\\[ERROR\\] InnoDB: Operating system error number 2 in a file operation.");
 | |
| call mtr.add_suppression("\\[ERROR\\] InnoDB: The error means the system cannot find the path specified.");
 | |
| call mtr.add_suppression("\\[ERROR\\] InnoDB: If you are installing InnoDB, remember that you must create directories yourself, InnoDB does not create them.");
 | |
| call mtr.add_suppression("\\[ERROR\\] InnoDB: Cannot open datafile for read-only");
 | |
| call mtr.add_suppression("\\[Warning\\] InnoDB: Ignoring tablespace .* because it could not be opened");
 | |
| --enable_query_log
 | |
| 
 | |
| --error ER_GET_ERRNO
 | |
| select * from `..................................................`;
 | |
| DROP TABLE `..................................................`;
 | |
| DROP DATABASE `..................................................`;
 |