mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	mysql-test/r/myisam.result: Test of DROP TABLE when .MYI or .MYD is missing mysql-test/r/ndb_autodiscover.result: Update test results mysql-test/r/rpl_EE_error.result: Change test to conform with new handling of drop table when handler file is missing mysql-test/t/myisam.test: Test of DROP TABLE when .MYI or .MYD is missing mysql-test/t/rpl_EE_error.test: Change test to conform with new handling of drop table when handler file is missing sql/handler.cc: Generate a warning in ha_delete_table() if we get an error from 'delete_table()' sql/handler.h: More parameters to ha_delete_table() so that we can generate better error messages sql/sql_table.cc: Generate warning in ha_delete_table()
		
			
				
	
	
		
			19 lines
		
	
	
		
			481 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			481 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
stop slave;
 | 
						|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 | 
						|
reset master;
 | 
						|
reset slave;
 | 
						|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 | 
						|
start slave;
 | 
						|
create table t1 (a int) engine=myisam;
 | 
						|
flush tables;
 | 
						|
drop table if exists t1;
 | 
						|
Warnings:
 | 
						|
Error	2	Can't find file: 't1' (errno: 2)
 | 
						|
create table t1 (a int, unique(a)) engine=myisam;
 | 
						|
set sql_log_bin=0;
 | 
						|
insert into t1 values(2);
 | 
						|
set sql_log_bin=1;
 | 
						|
insert into t1 values(1),(2);
 | 
						|
ERROR 23000: Duplicate entry '2' for key 1
 | 
						|
drop table t1;
 |