mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
42 lines
1.3 KiB
Text
42 lines
1.3 KiB
Text
|
-- source include/have_innodb.inc
|
||
|
-- source suite/innodb/include/have_innodb_plugin.inc
|
||
|
|
||
|
let $format=`select @@innodb_file_format`;
|
||
|
let $innodb_file_format_check_orig=`select @@innodb_file_format_check`;
|
||
|
|
||
|
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;
|
||
|
|
||
|
#
|
||
|
# restore environment to the state it was before this test execution
|
||
|
#
|
||
|
|
||
|
-- disable_query_log
|
||
|
eval set global innodb_file_format=$format;
|
||
|
eval set global innodb_file_format_check=$innodb_file_format_check_orig;
|
||
|
-- enable_query_log
|