| 1 |
--source setup.inc |
| 2 |
|
| 3 |
# Test ALTER TABLE with implicit inplace rename |
| 4 |
# - will try to perform the rename using inplace API |
| 5 |
# - NOTE! caveat is that inplace API will only be used if there are |
| 6 |
# other changes to the table - else "simple rename" will be used |
| 7 |
# thus the test will add a column and rename table at same time |
| 8 |
# |
| 9 |
# Query fails since ndbcluster does not yet support ALTER RENAME |
| 10 |
# in combination with another change |
| 11 |
|
| 12 |
--error ER_NOT_SUPPORTED_YET |
| 13 |
ALTER TABLE t1 |
| 14 |
ADD COLUMN c INT, |
| 15 |
RENAME TO t1_renamed; |
| 16 |
|
| 17 |
--source verify_mysql_dd.inc |
| 18 |
|
| 19 |
--source cleanup.inc |