mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-30 04:26:45 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			567 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			567 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #
 | |
| # Test of problem when shutting down mysqld at once after ALTER TABLE
 | |
| #
 | |
| -- source include/have_bdb.inc
 | |
| --disable_warnings
 | |
| drop table if exists t1;
 | |
| --enable_warnings
 | |
| 
 | |
| create table t1(objid BIGINT not null, tablename  varchar(64), oid BIGINT not null, test BIGINT,  PRIMARY KEY (objid), UNIQUE(tablename))  engine=BDB;
 | |
| insert into t1 values(1, 't1',4,9);
 | |
| insert into t1 values(2, 'metatable',1,9);
 | |
| insert into t1 values(3, 'metaindex',1,9 );
 | |
| select * from t1;
 | |
| alter table t1 drop column test;
 | |
| 
 | |
| # Now we do a reboot and continue with the next test
 | |
| 
 | |
| # End of 4.1 tests
 | 
