mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-02 02:53:04 +03:00 
			
		
		
		
	Cleaned up test; Removed wrong DROP TABLE commands and use standard table and database names. changed store_warning() -> push_warning_print()
		
			
				
	
	
		
			14 lines
		
	
	
		
			292 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			292 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
#
 | 
						|
# this is a test of bulk-insert code
 | 
						|
#
 | 
						|
 | 
						|
--disable_warnings
 | 
						|
drop table if exists t1;
 | 
						|
--enable_warnings
 | 
						|
CREATE TABLE t1 (a int, unique (a), b int not null, unique(b), c int not null, index(c));
 | 
						|
replace into t1 values (1,1,1),(2,2,2),(3,1,3);
 | 
						|
select * from t1;
 | 
						|
check table t1;
 | 
						|
drop table t1;
 | 
						|
 |