mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
#40 fix mod_enum test portability
This commit is contained in:
parent
013e8e6506
commit
e7237420df
2 changed files with 4 additions and 2 deletions
|
@ -26,7 +26,7 @@ col1 col2
|
|||
set tokudb_disable_hot_alter=0;
|
||||
set tokudb_disable_slow_alter=1;
|
||||
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value3');
|
||||
ERROR 42000: Table 'test_enum' uses an extension that doesn't exist in this MySQL version
|
||||
ERROR 42000: Table 'test_enum' uses an extension that doesn't exist in this XYZ version
|
||||
set tokudb_disable_hot_alter=1;
|
||||
set tokudb_disable_slow_alter=0;
|
||||
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value3');
|
||||
|
@ -46,7 +46,7 @@ col1 col2
|
|||
set tokudb_disable_hot_alter=0;
|
||||
set tokudb_disable_slow_alter=1;
|
||||
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value4');
|
||||
ERROR 42000: Table 'test_enum' uses an extension that doesn't exist in this MySQL version
|
||||
ERROR 42000: Table 'test_enum' uses an extension that doesn't exist in this XYZ version
|
||||
set tokudb_disable_hot_alter=1;
|
||||
set tokudb_disable_slow_alter=0;
|
||||
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value4');
|
||||
|
|
|
@ -26,6 +26,7 @@ SELECT * FROM test_enum;
|
|||
|
||||
set tokudb_disable_hot_alter=0;
|
||||
set tokudb_disable_slow_alter=1;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value3');
|
||||
|
||||
|
@ -43,6 +44,7 @@ SELECT * FROM test_enum;
|
|||
|
||||
set tokudb_disable_hot_alter=0;
|
||||
set tokudb_disable_slow_alter=1;
|
||||
--replace_regex /MariaDB/XYZ/ /MySQL/XYZ/
|
||||
--error ER_UNSUPPORTED_EXTENSION
|
||||
ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value4');
|
||||
|
||||
|
|
Loading…
Reference in a new issue