mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
f66e34d0d7
git-svn-id: file:///svn/mysql/tests/mysql-test@55031 c7de825b-a66e-492c-adef-691d508d4ae1
28 lines
590 B
Text
28 lines
590 B
Text
# test that varbin to varchar change is not inplace
|
|
|
|
--disable_warnings
|
|
DROP TABLE IF EXISTS t;
|
|
--enable_warnings
|
|
|
|
SET SESSION TOKUDB_DISABLE_SLOW_ALTER=ON;
|
|
|
|
CREATE TABLE t (a VARBINARY(1)) ENGINE=TokuDB;
|
|
|
|
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
|
--error ER_UNSUPPORTED_EXTENSION
|
|
ALTER TABLE t CHANGE COLUMN a a VARCHAR(1);
|
|
|
|
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
|
--error ER_UNSUPPORTED_EXTENSION
|
|
ALTER TABLE t CHANGE COLUMN a a VARCHAR(100);
|
|
|
|
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
|
--error ER_UNSUPPORTED_EXTENSION
|
|
ALTER TABLE t CHANGE COLUMN a a VARCHAR(1000);
|
|
|
|
DROP TABLE t;
|
|
|
|
|
|
|
|
|
|
|