Commit bb8b5fd6 authored by Rich Prohaska's avatar Rich Prohaska

refs #4363 hcr blobs

git-svn-id: file:///svn/mysql/tests/mysql-test@48712 c7de825b-a66e-492c-adef-691d508d4ae1
parent 4f5b7e7a
drop table if exists t;
set default_storage_engine='tokudb';
set tokudb_disable_slow_alter=1;
create table t (a tinyblob);
alter table t change column a aa tinyblob;
alter table t change column aa a3 blob;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
alter table t change column aa a3 mediumblob;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
alter table t change column aa a3 longblob;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
drop table t;
create table t (a blob);
alter table t change column a aa blob;
alter table t change column aa a3 tinyblob;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
alter table t change column aa a3 mediumblob;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
alter table t change column aa a3 longblob;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
drop table t;
create table t (a mediumblob);
alter table t change column a aa mediumblob;
alter table t change column aa a3 tinyblob;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
alter table t change column aa a3 blob;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
alter table t change column aa a3 longblob;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
drop table t;
create table t (a longblob);
alter table t change column a aa longblob;
alter table t change column aa a3 tinyblob;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
alter table t change column aa a3 blob;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
alter table t change column aa a3 mediumblob;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
drop table t;
drop table if exists t;
set default_storage_engine='tokudb';
set tokudb_disable_slow_alter=1;
create table t (a tinytext);
alter table t change column a aa tinytext;
alter table t change column aa a3 text;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
alter table t change column aa a3 mediumtext;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
alter table t change column aa a3 longtext;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
drop table t;
create table t (a text);
alter table t change column a aa text;
alter table t change column aa a3 tinytext;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
alter table t change column aa a3 mediumtext;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
alter table t change column aa a3 longtext;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
drop table t;
create table t (a mediumtext);
alter table t change column a aa mediumtext;
alter table t change column aa a3 tinytext;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
alter table t change column aa a3 text;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
alter table t change column aa a3 longtext;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
drop table t;
create table t (a longtext);
alter table t change column a aa longtext;
alter table t change column aa a3 tinytext;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
alter table t change column aa a3 text;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
alter table t change column aa a3 mediumtext;
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
drop table t;
--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 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 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;
\ No newline at end of file
--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 tinytext);
alter table t change column a aa tinytext;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 text;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 mediumtext;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 longtext;
drop table t;
create table t (a text);
alter table t change column a aa text;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 tinytext;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 mediumtext;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 longtext;
drop table t;
create table t (a mediumtext);
alter table t change column a aa mediumtext;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 tinytext;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 text;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 longtext;
drop table t;
create table t (a longtext);
alter table t change column a aa longtext;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 tinytext;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 text;
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
--error ER_UNSUPPORTED_EXTENSION
alter table t change column aa a3 mediumtext;
drop table t;
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment