mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-30 04:26:45 +03:00 
			
		
		
		
	 72d135bec5
			
		
	
	72d135bec5
	
	
	
		
			
			Change to use remove_file instead of 'system rm' in a lot of tests. (Should fix some windows test problems) Removed memory leak in mysql_test if sync_with_master fails. Do not terminate ndb_cluster_binary_log before the util thread has finnished. This should fix a shutdown bug where a thread is accessing injector_mutex after it's freed. Patch may fix Bug#27622 "mysqld shutdown, util thread continues, while binlog thread exits"
		
			
				
	
	
		
			22 lines
		
	
	
		
			552 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			552 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #
 | |
| # Test how DROP TABLE works if the index or data file doesn't exists
 | |
| 
 | |
| # Initialise
 | |
| --disable_warnings
 | |
| drop table if exists t1,t2;
 | |
| --enable_warnings
 | |
| 
 | |
| create table t1 (a int) engine=myisam;
 | |
| --remove_file $MYSQLTEST_VARDIR/master-data/test/t1.MYI
 | |
| drop table if exists t1;
 | |
| create table t1 (a int) engine=myisam;
 | |
| --remove_file $MYSQLTEST_VARDIR/master-data/test/t1.MYI
 | |
| --error 1051,6
 | |
| drop table t1;
 | |
| create table t1 (a int) engine=myisam;
 | |
| --remove_file $MYSQLTEST_VARDIR/master-data/test/t1.MYD
 | |
| --error 1105,6,29
 | |
| drop table t1;
 | |
| --error 1051
 | |
| drop table t1;
 |