A reduced testcase that produces bug 1364457 assert failure:

CREATE TABLE test_table (id INT UNSIGNED PRIMARY KEY) ENGINE=INNODB;
CREATE TABLE test_table1 (related_id INT UNSIGNED, FOREIGN KEY (related_id) 
REFERENCES test_table (id)) ENGINE=INNODB;
CREATE TABLE test_table2 (related_id INT UNSIGNED, FOREIGN KEY (related_id) 
REFERENCES test_table (id)) ENGINE=INNODB;
CREATE TABLE test_table3 (related_id INT UNSIGNED, FOREIGN KEY (related_id) 
REFERENCES test_table (id)) ENGINE=INNODB;
RENAME TABLE test_table1 TO testTable1;
ALTER TABLE testTable1 CHANGE COLUMN related_id relatedId INT UNSIGNED;

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1366073

Title:
  Combination of CREATE, RENAME, and ALTER TABLE statements on related
  tables causes crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/mysql-server/+bug/1366073/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to