mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
c39877071a
mysql-test-run auto-disables all optional plugins. mysql-test/include/default_client.cnf: no @OPT.plugindir anymore mysql-test/include/default_mysqld.cnf: don't disable plugins manually - mtr can do it better mysql-test/suite/innodb/t/innodb_bug47167.test: mtr now uses suite-dir as an include path mysql-test/suite/innodb/t/innodb_file_format.test: mtr now uses suite-dir as an include path mysql-test/t/partition_binlog.test: this test uses partitions storage/example/mysql-test/mtr/t/source.result: update results. as mysqltest includes the correct overlayed include storage/innobase/handler/ha_innodb.cc: the assert is wrong
40 lines
1.3 KiB
Text
40 lines
1.3 KiB
Text
--source include/have_innodb.inc
|
|
--source include/restart_and_reinit.inc
|
|
|
|
let $innodb_file_format_orig=`select @@innodb_file_format`;
|
|
|
|
select @@innodb_file_format;
|
|
select @@innodb_file_format_check;
|
|
select @@innodb_file_format_max;
|
|
set global innodb_file_format=antelope;
|
|
set global innodb_file_format=barracuda;
|
|
--error ER_WRONG_VALUE_FOR_VAR
|
|
set global innodb_file_format=cheetah;
|
|
select @@innodb_file_format;
|
|
set global innodb_file_format=default;
|
|
select @@innodb_file_format;
|
|
--error ER_WRONG_VALUE_FOR_VAR
|
|
set global innodb_file_format=on;
|
|
--error ER_WRONG_VALUE_FOR_VAR
|
|
set global innodb_file_format=off;
|
|
select @@innodb_file_format;
|
|
set global innodb_file_format_max=antelope;
|
|
set global innodb_file_format_max=barracuda;
|
|
--error ER_WRONG_VALUE_FOR_VAR
|
|
set global innodb_file_format_max=cheetah;
|
|
select @@innodb_file_format_max;
|
|
set global innodb_file_format_max=default;
|
|
select @@innodb_file_format_max;
|
|
--error ER_WRONG_VALUE_FOR_VAR
|
|
set global innodb_file_format=on;
|
|
--error ER_WRONG_VALUE_FOR_VAR
|
|
set global innodb_file_format=off;
|
|
select @@innodb_file_format_max;
|
|
set global innodb_file_format_max=antelope;
|
|
|
|
# innodb_file_format_check is read only variable, can be
|
|
# set as server startup parameter
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
set global innodb_file_format_check=off;
|
|
|
|
eval SET GLOBAL innodb_file_format=$innodb_file_format_orig;
|