mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	into neptunus.(none):/home/msvensson/mysql/mysql-5.1-new mysql-test/extra/rpl_tests/rpl_stm_000001.test: Auto merged mysql-test/mysql-test-run.pl: Auto merged mysql-test/mysql-test-run.sh: Auto merged mysql-test/r/query_cache.result: Auto merged mysql-test/r/rpl_loaddata.result: Auto merged mysql-test/r/rpl_loaddata_m.result: Auto merged mysql-test/r/rpl_loaddata_s.result: Auto merged mysql-test/r/rpl_misc_functions.result: Auto merged mysql-test/r/rpl_replicate_do.result: Auto merged mysql-test/r/rpl_stm_000001.result: Auto merged mysql-test/t/mysqltest.test: Auto merged mysql-test/t/query_cache.test: Auto merged mysql-test/t/rpl_loaddata.test: Auto merged mysql-test/t/rpl_loaddata_m.test: Auto merged mysql-test/t/rpl_loaddata_s.test: Auto merged mysql-test/t/rpl_misc_functions.test: Auto merged mysql-test/t/rpl_replicate_do.test: Auto merged mysql-test/t/trigger-compat.test: Auto merged mysql-test/t/type_varchar.test: Auto merged mysql-test/r/mysqltest.result: Merge 5.0 -> 5.1 mysql-test/t/trigger-grant.test: "Use local" when merging 5.0 -> 5.1
		
			
				
	
	
		
			24 lines
		
	
	
		
			969 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			969 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(id int, i int, r1 int, r2 int, p varchar(100));
 | |
| insert into t1 values(1, connection_id(), 0, 0, "");
 | |
| insert into t1 values(2, 0, rand()*1000, rand()*1000, "");
 | |
| set sql_log_bin=0;
 | |
| insert into t1 values(6, 0, rand(), rand(), "");
 | |
| delete from t1 where id=6;
 | |
| set sql_log_bin=1;
 | |
| insert into t1 values(3, 0, 0, 0, password('does_this_work?'));
 | |
| insert into t1 values(4, connection_id(), rand()*1000, rand()*1000, password('does_this_still_work?'));
 | |
| select * into outfile 'rpl_misc_functions.outfile' from t1;
 | |
| create table t2 like t1;
 | |
| load data local infile 'MYSQLTEST_VARDIR/master-data/test/rpl_misc_functions.outfile' into table t2;
 | |
| select * from t1, t2 where (t1.id=t2.id) and not(t1.i=t2.i and t1.r1=t2.r1 and t1.r2=t2.r2 and t1.p=t2.p);
 | |
| id	i	r1	r2	p	id	i	r1	r2	p
 | |
| stop slave;
 | |
| drop table t1;
 | |
| drop table t1;
 |