mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	Sync the storage/innodb_plugin/mysql-test directory with Innodb_plugin-1.0.5/mysql-test directory Update the README file
		
			
				
	
	
		
			18 lines
		
	
	
		
			535 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			535 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
#
 | 
						|
# Bug#44571 InnoDB Plugin crashes on ADD INDEX
 | 
						|
# http://bugs.mysql.com/44571
 | 
						|
#
 | 
						|
-- source include/have_innodb.inc
 | 
						|
 | 
						|
CREATE TABLE bug44571 (foo INT) ENGINE=InnoDB;
 | 
						|
ALTER TABLE bug44571 CHANGE foo bar INT;
 | 
						|
-- error ER_KEY_COLUMN_DOES_NOT_EXITS
 | 
						|
ALTER TABLE bug44571 ADD INDEX bug44571b (foo);
 | 
						|
# The following will fail, because the CHANGE foo bar was
 | 
						|
# not communicated to InnoDB.
 | 
						|
--error ER_NOT_KEYFILE
 | 
						|
ALTER TABLE bug44571 ADD INDEX bug44571b (bar);
 | 
						|
--error ER_NOT_KEYFILE
 | 
						|
CREATE INDEX bug44571b ON bug44571 (bar);
 | 
						|
DROP TABLE bug44571;
 |