Debian Codegraph @

mysql-test/suite/ndb_ddl/alter_rename_copying.test

raw
1 --source setup.inc
2
3
4 # Test ALTER TABLE with copying rename
5 # - mysqld will create new temporary table, copy data and then rename
6 # temporary table to the new name
7 #
8 let $query =
9 ALTER TABLE tx
10 algorithm=copy,
11 RENAME TO ty;
12 --source alter_rename.inc
13
14 # Check that there are no tables with temp name
15 # leftover in NDB due to failure and rollback
16 --source count_temp_tables.inc
17
18 --source cleanup.inc