mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 07:44:22 +01:00
a1c368091a
git-svn-id: file:///svn/mysql/tests/mysql-test@47670 c7de825b-a66e-492c-adef-691d508d4ae1
21 lines
1 KiB
Text
21 lines
1 KiB
Text
DROP TABLE IF EXISTS t;
|
|
SET SESSION TOKUDB_DISABLE_SLOW_ALTER=ON;
|
|
SET SESSION DEFAULT_STORAGE_ENGINE='TokuDB';
|
|
CREATE TABLE t (a CHAR(100), b CHAR(200), KEY(a), KEY(b));
|
|
ALTER TABLE t CHANGE COLUMN a a CHAR(100);
|
|
ALTER TABLE t CHANGE COLUMN a a CHAR(1);
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
ALTER TABLE t CHANGE COLUMN a a CHAR(255);
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
ALTER TABLE t CHANGE COLUMN b b CHAR(200);
|
|
ALTER TABLE t CHANGE COLUMN b b CHAR(1);
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
ALTER TABLE t CHANGE COLUMN b b CHAR(255);
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
DROP TABLE t;
|
|
CREATE TABLE t (a CHAR(1), b CHAR(2), KEY(a,b));
|
|
ALTER TABLE t CHANGE COLUMN a a CHAR(3);
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
ALTER TABLE t CHANGE COLUMN b b CHAR(3);
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
DROP TABLE t;
|