mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
6bfbdb2d0d
or SET GLOBAL innodb_file_format_check=DEFAULT. innodb_file_format.test: New test for innodb_file_format and innodb_file_format_check. innodb_file_format_name_validate(): Store the string in *save. innodb_file_format_name_update(): Check the string again. innodb_file_format_check_validate(): Store the string in *save. innodb_file_format_check_update(): Check the string again. Issue #282, rb://140 approved by Heikki Tuuri
28 lines
933 B
Text
28 lines
933 B
Text
-- source include/have_innodb.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;
|