mirror of
https://github.com/MariaDB/server.git
synced 2025-08-29 00:08:14 +03:00
Detailed revision comments: r6799 | jyang | 2010-03-11 09:59:42 +0200 (Thu, 11 Mar 2010) | 5 lines branches/zip: Once change in bug #47621 merges into zip branch, zip only test innodb_bug44571 needs to be updated to reflect the column name change would be successful be done in InnoDB as well.
9 lines
334 B
Plaintext
9 lines
334 B
Plaintext
CREATE TABLE bug44571 (foo INT) ENGINE=InnoDB;
|
|
ALTER TABLE bug44571 CHANGE foo bar INT;
|
|
ALTER TABLE bug44571 ADD INDEX bug44571b (foo);
|
|
ERROR 42000: Key column 'foo' doesn't exist in table
|
|
ALTER TABLE bug44571 ADD INDEX bug44571c (bar);
|
|
DROP INDEX bug44571c ON bug44571;
|
|
CREATE INDEX bug44571c ON bug44571 (bar);
|
|
DROP TABLE bug44571;
|