mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 20:36:16 +01:00 
			
		
		
		
	This makes it easier to run test on just the MRG_MYISAM engine. Other things: - Renamed merge-big.test to flush_corruption.test as it does not have anything to do with merge tables.
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			434 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			434 B
		
	
	
	
		
			Text
		
	
	
	
	
	
--echo #
 | 
						|
--echo # BUG#6236 - ALTER TABLE MODIFY should set implicit NOT NULL on PK columns
 | 
						|
--echo #
 | 
						|
create table t1 ( a varchar(10) not null primary key ) engine=myisam;
 | 
						|
create table t2 ( a varchar(10) not null primary key ) engine=merge union=(t1);
 | 
						|
flush tables;
 | 
						|
alter table t1 modify a varchar(10);
 | 
						|
show create table t2;
 | 
						|
flush tables;
 | 
						|
alter table t1 modify a varchar(10) not null;
 | 
						|
show create table t2;
 | 
						|
drop table if exists t1, t2;
 |