mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	into neptunus.(none):/home/msvensson/mysql/bug11316/my41-bug11316 mysql-test/mysql-test-run.pl: Auto merged mysql-test/t/create.test: Auto merged mysql-test/t/create_select_tmp.test: Auto merged mysql-test/t/drop.test: Auto merged mysql-test/t/flush.test: Auto merged mysql-test/t/handler.test: Auto merged mysql-test/t/innodb-deadlock.test: Auto merged mysql-test/t/innodb-lock.test: Auto merged mysql-test/t/innodb.test: Auto merged mysql-test/t/ndb_autodiscover2.test: Auto merged mysql-test/t/rpl000001.test: Auto merged mysql-test/t/rpl_EE_error.test: Auto merged mysql-test/t/rpl_change_master.test: Auto merged mysql-test/t/rpl_deadlock.test: Auto merged mysql-test/t/rpl_drop.test: Auto merged mysql-test/t/rpl_drop_temp.test: Auto merged mysql-test/t/rpl_error_ignored_table.test: Auto merged mysql-test/t/rpl_flush_log_loop.test: Auto merged mysql-test/t/rpl_insert_id.test: Auto merged mysql-test/t/rpl_loaddata.test: Auto merged mysql-test/t/rpl_rotate_logs.test: Auto merged mysql-test/t/rpl_until.test: Auto merged client/mysqltest.c: Manual merge mysql-test/t/mysqltest.test: Manual merge
		
			
				
	
	
		
			33 lines
		
	
	
		
			888 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			888 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # See if an EE_ error in one event of the master's binlog stops replication
 | |
| # (it should not: in this configuration the EE_ error is probably not 
 | |
| # critical). Example: you do a DROP TABLE on a table which has no MYI file
 | |
| # check if START SLAVE, RESET SLAVE, CHANGE MASTER reset Last_slave_error and
 | |
| # Last_slave_errno in SHOW SLAVE STATUS (1st and 3rd commands did not: bug 986).
 | |
| 
 | |
| source include/master-slave.inc;
 | |
| 
 | |
| create table t1 (a int) engine=myisam;
 | |
| flush tables;
 | |
| system rm ./var/master-data/test/t1.MYI ;
 | |
| drop table t1;
 | |
| save_master_pos;
 | |
| connection slave;
 | |
| sync_with_master;
 | |
| 
 | |
| # Now a real error.
 | |
| 
 | |
| connection master;
 | |
| create table t1 (a int, unique(a)) engine=myisam;
 | |
| set sql_log_bin=0;
 | |
| insert into t1 values(2);
 | |
| set sql_log_bin=1;
 | |
| save_master_pos;
 | |
| --error 1062
 | |
| insert into t1 values(1),(2);
 | |
| drop table t1;
 | |
| save_master_pos;
 | |
| connection slave;
 | |
| wait_for_slave_to_stop;
 | |
| 
 | |
| # End of 4.1 tests
 |