mysql-test/suite/ndb_ddl/alter_rename_inplace.test
raw| 1 | --source setup.inc |
| 2 | |
| 3 | # Test ALTER TABLE inplace with rename |
| 4 | # - This will be done as a "simple rename" |
| 5 | # ie. an ALTER TABLE which only renames the table. This is a special |
| 6 | # case in mysql_alter_table() and will not ask the inplace alter table |
| 7 | # API if it's supported |
| 8 | # |
| 9 | let $query = |
| 10 | ALTER TABLE tx |
| 11 | algorithm=inplace, |
| 12 | RENAME TO ty; |
| 13 | --source alter_rename.inc |
| 14 | |
| 15 | --source cleanup.inc |