mysql-test/suite/innodb/t/innodb_bug35220.test
raw| 1 | # |
| 2 | # Bug#35220 ALTER TABLE too picky on reserved word "foreign" |
| 3 | # http://bugs.mysql.com/35220 |
| 4 | # |
| 5 | |
| 6 | |
| 7 | SET default_storage_engine=InnoDB; |
| 8 | |
| 9 | # we care only that the following SQL commands do not produce errors |
| 10 | -- disable_query_log |
| 11 | -- disable_result_log |
| 12 | |
| 13 | CREATE TABLE bug35220 (foreign_col INT, dummy_cant_delete_all_columns INT); |
| 14 | ALTER TABLE bug35220 DROP foreign_col; |
| 15 | DROP TABLE bug35220; |