mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 07:44:22 +01:00
827fc146c4
git-svn-id: file:///svn/mysql/tests/mysql-test@47535 c7de825b-a66e-492c-adef-691d508d4ae1
30 lines
1.8 KiB
Text
30 lines
1.8 KiB
Text
DROP TABLE IF EXISTS t;
|
|
SET SESSION TOKUDB_DISABLE_SLOW_ALTER=ON;
|
|
CREATE TABLE t (a VARCHAR(100), b VARCHAR(256)) ENGINE=TokuDB;
|
|
ALTER TABLE t CHANGE COLUMN a a VARCHAR(1) NOT NULL;
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
ALTER TABLE t CHANGE COLUMN a a VARCHAR(255) NOT NULL;
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
ALTER TABLE t CHANGE COLUMN a a VARCHAR(256) NOT NULL;
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
ALTER TABLE t CHANGE COLUMN b b VARCHAR(255) NOT NULL;
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
ALTER TABLE t CHANGE COLUMN b b VARCHAR(1024) NOT NULL;
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
ALTER TABLE t CHANGE COLUMN b b VARCHAR(256) NOT NULL;
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
DROP TABLE t;
|
|
CREATE TABLE t (a VARCHAR(100) NOT NULL, b VARCHAR(256) NOT NULL) ENGINE=TokuDB;
|
|
ALTER TABLE t CHANGE COLUMN a a VARCHAR(1);
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
ALTER TABLE t CHANGE COLUMN a a VARCHAR(255);
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
ALTER TABLE t CHANGE COLUMN a a VARCHAR(256);
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
ALTER TABLE t CHANGE COLUMN b b VARCHAR(255);
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
ALTER TABLE t CHANGE COLUMN b b VARCHAR(1024);
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
ALTER TABLE t CHANGE COLUMN b b VARCHAR(256);
|
|
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
|
DROP TABLE t;
|