mariadb/mysql-test/suite/tokudb.alter_table/t/hcr_blob.test
Rich Prohaska c9f1e3a90d refs #4363 tests for hcr rename blob, enum, and time types
git-svn-id: file:///svn/mysql/tests/mysql-test@48713 c7de825b-a66e-492c-adef-691d508d4ae1
2012-10-08 17:44:25 +00:00

86 lines
No EOL
2.3 KiB
Text

--source include/have_tokudb.inc
--disable_warnings
drop table if exists t;
--enable_warnings
set default_storage_engine='tokudb';
set tokudb_disable_slow_alter=1;
create table t (a tinyblob);
alter table t change column a aa tinyblob;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 blob;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 blob not null;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 mediumblob;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 mediumblob not null;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 longblob;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 longblob not null;
drop table t;
create table t (a blob);
alter table t change column a aa blob;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 tinyblob;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 mediumblob;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 longblob;
drop table t;
create table t (a mediumblob);
alter table t change column a aa mediumblob;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 tinyblob;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 blob;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 longblob;
drop table t;
create table t (a longblob);
alter table t change column a aa longblob;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 tinyblob;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 blob;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 mediumblob;
drop table t;