mariadb/mysql-test/t/innodb_file_format.test

32 lines
1 KiB
Text
Raw Normal View History

2009-09-23 02:06:02 +02:00
-- source include/have_innodb.inc
2009-09-02 18:58:17 +02:00
call mtr.add_suppression("InnoDB: invalid innodb_file_format_check value");
2009-09-23 02:06:02 +02:00
select @@innodb_file_format;
select @@innodb_file_format_check;
set global innodb_file_format=antelope;
set global innodb_file_format=barracuda;
--error ER_WRONG_ARGUMENTS
set global innodb_file_format=cheetah;
select @@innodb_file_format;
set global innodb_file_format=default;
select @@innodb_file_format;
--error ER_WRONG_ARGUMENTS
set global innodb_file_format=on;
--error ER_WRONG_ARGUMENTS
set global innodb_file_format=off;
select @@innodb_file_format;
set global innodb_file_format_check=antelope;
set global innodb_file_format_check=barracuda;
--error ER_WRONG_ARGUMENTS
set global innodb_file_format_check=cheetah;
select @@innodb_file_format_check;
set global innodb_file_format_check=default;
select @@innodb_file_format_check;
--error ER_WRONG_ARGUMENTS
set global innodb_file_format=on;
--error ER_WRONG_ARGUMENTS
set global innodb_file_format=off;
select @@innodb_file_format_check;
2010-01-06 13:00:14 +01:00
set global innodb_file_format_check=antelope;