mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
refs #5607 test cases for hot text/blob expansion
git-svn-id: file:///svn/mysql/tests/mysql-test@48857 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
0d387b85e3
commit
05414936de
6 changed files with 1746 additions and 0 deletions
367
mysql-test/suite/tokudb.change_column/r/change_blob.result
Normal file
367
mysql-test/suite/tokudb.change_column/r/change_blob.result
Normal file
|
@ -0,0 +1,367 @@
|
|||
DROP TABLE IF EXISTS t;
|
||||
SET SESSION DEFAULT_STORAGE_ENGINE="TokuDB";
|
||||
SET SESSION TOKUDB_DISABLE_SLOW_ALTER=1;
|
||||
CREATE TABLE t (a TINYBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
DROP TABLE t;
|
367
mysql-test/suite/tokudb.change_column/r/change_text.result
Normal file
367
mysql-test/suite/tokudb.change_column/r/change_text.result
Normal file
|
@ -0,0 +1,367 @@
|
|||
DROP TABLE IF EXISTS t;
|
||||
SET SESSION DEFAULT_STORAGE_ENGINE="TokuDB";
|
||||
SET SESSION TOKUDB_DISABLE_SLOW_ALTER=1;
|
||||
CREATE TABLE t (a TINYTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NOT NULL);
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
DROP TABLE t;
|
27
mysql-test/suite/tokudb.change_column/t/change_blob.py
Normal file
27
mysql-test/suite/tokudb.change_column/t/change_blob.py
Normal file
|
@ -0,0 +1,27 @@
|
|||
import sys
|
||||
def main():
|
||||
print "# this test is generated by change_blob.py"
|
||||
print "# generate hot blob expansion test cases"
|
||||
print "--disable_warnings"
|
||||
print "DROP TABLE IF EXISTS t;"
|
||||
print "--enable_warnings"
|
||||
print "SET SESSION DEFAULT_STORAGE_ENGINE=\"TokuDB\";"
|
||||
print "SET SESSION TOKUDB_DISABLE_SLOW_ALTER=1;"
|
||||
gen_tests([ "TINY", "", "MEDIUM", "LONG" ], [ "NULL", "NOT NULL"])
|
||||
return 0
|
||||
def gen_tests(base_types, null_types):
|
||||
for from_index in range(len(base_types)):
|
||||
for to_index in range(len(base_types)):
|
||||
for from_null in range(len(null_types)):
|
||||
for to_null in range(len(null_types)):
|
||||
print "CREATE TABLE t (a %sBLOB %s);" % (base_types[from_index], null_types[from_null])
|
||||
print "--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/"
|
||||
print "--error ER_UNSUPPORTED_EXTENSION"
|
||||
print "ALTER TABLE t CHANGE COLUMN a a %sTEXT %s;" % (base_types[to_index], null_types[to_null]);
|
||||
if from_null != to_null or from_index > to_index:
|
||||
print "--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/"
|
||||
print "--error ER_UNSUPPORTED_EXTENSION"
|
||||
print "ALTER TABLE t CHANGE COLUMN a a %sBLOB %s;" % (base_types[to_index], null_types[to_null]);
|
||||
print "DROP TABLE t;"
|
||||
|
||||
sys.exit(main())
|
479
mysql-test/suite/tokudb.change_column/t/change_blob.test
Normal file
479
mysql-test/suite/tokudb.change_column/t/change_blob.test
Normal file
|
@ -0,0 +1,479 @@
|
|||
# this test is generated by change_blob.py
|
||||
# generate hot blob expansion test cases
|
||||
--disable_warnings
|
||||
DROP TABLE IF EXISTS t;
|
||||
--enable_warnings
|
||||
SET SESSION DEFAULT_STORAGE_ENGINE="TokuDB";
|
||||
SET SESSION TOKUDB_DISABLE_SLOW_ALTER=1;
|
||||
CREATE TABLE t (a TINYBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a BLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGBLOB NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
DROP TABLE t;
|
27
mysql-test/suite/tokudb.change_column/t/change_text.py
Normal file
27
mysql-test/suite/tokudb.change_column/t/change_text.py
Normal file
|
@ -0,0 +1,27 @@
|
|||
import sys
|
||||
def main():
|
||||
print "# this test is generated by change_text.py"
|
||||
print "# generate hot text expansion test cases"
|
||||
print "--disable_warnings"
|
||||
print "DROP TABLE IF EXISTS t;"
|
||||
print "--enable_warnings"
|
||||
print "SET SESSION DEFAULT_STORAGE_ENGINE=\"TokuDB\";"
|
||||
print "SET SESSION TOKUDB_DISABLE_SLOW_ALTER=1;"
|
||||
gen_tests([ "TINY", "", "MEDIUM", "LONG" ], [ "NULL", "NOT NULL"])
|
||||
return 0
|
||||
def gen_tests(base_types, null_types):
|
||||
for from_index in range(len(base_types)):
|
||||
for to_index in range(len(base_types)):
|
||||
for from_null in range(len(null_types)):
|
||||
for to_null in range(len(null_types)):
|
||||
print "CREATE TABLE t (a %sTEXT %s);" % (base_types[from_index], null_types[from_null])
|
||||
print "--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/"
|
||||
print "--error ER_UNSUPPORTED_EXTENSION"
|
||||
print "ALTER TABLE t CHANGE COLUMN a a %sBLOB %s;" % (base_types[to_index], null_types[to_null]);
|
||||
if from_null != to_null or from_index > to_index:
|
||||
print "--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/"
|
||||
print "--error ER_UNSUPPORTED_EXTENSION"
|
||||
print "ALTER TABLE t CHANGE COLUMN a a %sTEXT %s;" % (base_types[to_index], null_types[to_null]);
|
||||
print "DROP TABLE t;"
|
||||
|
||||
sys.exit(main())
|
479
mysql-test/suite/tokudb.change_column/t/change_text.test
Normal file
479
mysql-test/suite/tokudb.change_column/t/change_text.test
Normal file
|
@ -0,0 +1,479 @@
|
|||
# this test is generated by change_text.py
|
||||
# generate hot text expansion test cases
|
||||
--disable_warnings
|
||||
DROP TABLE IF EXISTS t;
|
||||
--enable_warnings
|
||||
SET SESSION DEFAULT_STORAGE_ENGINE="TokuDB";
|
||||
SET SESSION TOKUDB_DISABLE_SLOW_ALTER=1;
|
||||
CREATE TABLE t (a TINYTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TINYTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a TEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a MEDIUMTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYBLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TINYTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a BLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a TEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMBLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a MEDIUMTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NULL;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NULL;
|
||||
DROP TABLE t;
|
||||
CREATE TABLE t (a LONGTEXT NOT NULL);
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGBLOB NOT NULL;
|
||||
ALTER TABLE t CHANGE COLUMN a a LONGTEXT NOT NULL;
|
||||
DROP TABLE t;
|
Loading…
Reference in a new issue