config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/ndb_ddl/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : /home/usr.opt/mysql57/mysql-test/suite/ndb_ddl/alter_rename_inplace_force.test

--source setup.inc

# Test ALTER TABLE with force of inplace rename
# - will try to perform the rename using inplace API
# - NOTE! caveat is that inplace API will only be used if there are
#   other changes to the table - else "simple rename" will be used
#   thus the test will add a column and rename table at same time
#
# Query will fail since ndbcluster returns HA_ALTER_INPLACE_NOT_SUPPORTED
# when mysqld asks if it supports inplace ALTER RENAME. Since user requested
# inplace, the query will be rejected by mysqld.

--error ER_ALTER_OPERATION_NOT_SUPPORTED
ALTER TABLE t1
  algorithm=inplace,
  ADD COLUMN c INT,
  RENAME TO t1_renamed;

--source verify_mysql_dd.inc

--source cleanup.inc

Man Man