mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 22:34:18 +01:00
26a983a249
git-svn-id: file:///svn/mysql/tests/mysql-test@48713 c7de825b-a66e-492c-adef-691d508d4ae1
34 lines
817 B
Text
34 lines
817 B
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 timestamp null);
|
|
alter table t change column a aa timestamp null;
|
|
|
|
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
|
--error ER_UNSUPPORTED_EXTENSION
|
|
alter table t change column aa a3 timestamp not null;
|
|
|
|
drop table t;
|
|
|
|
create table t (a date);
|
|
alter table t change column a aa date;
|
|
|
|
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
|
--error ER_UNSUPPORTED_EXTENSION
|
|
alter table t change column aa a3 date not null;
|
|
|
|
drop table t;
|
|
|
|
create table t (a datetime);
|
|
alter table t change column a aa datetime;
|
|
|
|
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
|
--error ER_UNSUPPORTED_EXTENSION
|
|
alter table t change column aa a3 datetime not null;
|
|
|
|
drop table t;
|
|
|