mirror of
https://github.com/MariaDB/server.git
synced 2025-05-05 16:59:35 +03:00
they are ignored to a new test suite "innodb_plugin". Remove a hack in mtr that was deployed to run the builtin InnoDB tests against the InnoDB Plugin. Also detect if a test is an 'innodb plugin test' and if so then transparently replace the builtin InnoDB with the InnoDB Plugin.
30 lines
986 B
Plaintext
30 lines
986 B
Plaintext
-- source include/have_innodb_plugin.inc
|
|
|
|
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;
|
|
set global innodb_file_format_check=antelope;
|