mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	server testing cleanups. mysql-test/r/innodb.result: Update results mysql-test/r/insert_select-binlog.result: Update results mysql-test/r/mix_innodb_myisam_binlog.result: Update results mysql-test/r/ps_1general.result: Update results mysql-test/r/ps_grant.result: Update results mysql-test/r/view.result: Update results mysql-test/t/client_xml.test: Skip test with embedded server mysql-test/t/flush_read_lock_kill.test: Skip test with embedded server mysql-test/t/grant3.test: Skip test with embedded server mysql-test/t/information_schema.test: Skip test with embedded server mysql-test/t/innodb.test: Fix up filenames mysql-test/t/multi_update.test: Skip test with embedded server mysql-test/t/mysqlshow.test: Skip test with embedded server mysql-test/t/ps_1general.test: Move grant-related tests to ps_grant, and fix cleanup of filename mysql-test/t/ps_grant.test: Add additional tests mysql-test/t/sp-security.test: Skip test with embedded server mysql-test/t/user_limits.test: Skip test with embedded server mysql-test/t/view.test: Split grant-related tests to new test file view_grant
		
			
				
	
	
		
			26 lines
		
	
	
		
			782 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			782 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| create table t1(a int, unique(a));
 | |
| insert into t1 values(2);
 | |
| create table t2(a int);
 | |
| insert into t2 values(1),(2);
 | |
| reset master;
 | |
| insert into t1 select * from t2;
 | |
| ERROR 23000: Duplicate entry '2' for key 1
 | |
| show binlog events;
 | |
| Log_name	Pos	Event_type	Server_id	End_log_pos	Info
 | |
| master-bin.000001	4	Format_desc	1	98	Server ver: VERSION, Binlog ver: 4
 | |
| master-bin.000001	98	Query	1	192	use `test`; insert into t1 select * from t2
 | |
| select * from t1;
 | |
| a
 | |
| 1
 | |
| 2
 | |
| drop table t1, t2;
 | |
| create table t1(a int);
 | |
| insert into t1 values(1),(1);
 | |
| reset master;
 | |
| create table t2(unique(a)) select a from t1;
 | |
| ERROR 23000: Duplicate entry '1' for key 1
 | |
| show binlog events;
 | |
| Log_name	Pos	Event_type	Server_id	End_log_pos	Info
 | |
| master-bin.000001	4	Format_desc	1	98	Server ver: VERSION, Binlog ver: 4
 | |
| drop table t1;
 |