mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
dc265dc4a1
This is a redo for 5.5 Added 'innodb_file_format_max' as variable to ignore change to. Tests that had to restore this amended Two tests assumed it to be Antelope, make sure these run on a freshly started server
49 lines
1.7 KiB
Text
49 lines
1.7 KiB
Text
select @@innodb_file_format;
|
|
@@innodb_file_format
|
|
Antelope
|
|
select @@innodb_file_format_check;
|
|
@@innodb_file_format_check
|
|
1
|
|
select @@innodb_file_format_max;
|
|
@@innodb_file_format_max
|
|
Antelope
|
|
set global innodb_file_format=antelope;
|
|
set global innodb_file_format=barracuda;
|
|
set global innodb_file_format=cheetah;
|
|
ERROR 42000: Variable 'innodb_file_format' can't be set to the value of 'cheetah'
|
|
select @@innodb_file_format;
|
|
@@innodb_file_format
|
|
Barracuda
|
|
set global innodb_file_format=default;
|
|
select @@innodb_file_format;
|
|
@@innodb_file_format
|
|
Antelope
|
|
set global innodb_file_format=on;
|
|
ERROR 42000: Variable 'innodb_file_format' can't be set to the value of 'ON'
|
|
set global innodb_file_format=off;
|
|
ERROR 42000: Variable 'innodb_file_format' can't be set to the value of 'off'
|
|
select @@innodb_file_format;
|
|
@@innodb_file_format
|
|
Antelope
|
|
set global innodb_file_format_max=antelope;
|
|
set global innodb_file_format_max=barracuda;
|
|
set global innodb_file_format_max=cheetah;
|
|
ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'cheetah'
|
|
select @@innodb_file_format_max;
|
|
@@innodb_file_format_max
|
|
Barracuda
|
|
set global innodb_file_format_max=default;
|
|
select @@innodb_file_format_max;
|
|
@@innodb_file_format_max
|
|
Antelope
|
|
set global innodb_file_format=on;
|
|
ERROR 42000: Variable 'innodb_file_format' can't be set to the value of 'ON'
|
|
set global innodb_file_format=off;
|
|
ERROR 42000: Variable 'innodb_file_format' can't be set to the value of 'off'
|
|
select @@innodb_file_format_max;
|
|
@@innodb_file_format_max
|
|
Antelope
|
|
set global innodb_file_format_max=antelope;
|
|
set global innodb_file_format_check=off;
|
|
ERROR HY000: Variable 'innodb_file_format_check' is a read only variable
|
|
SET GLOBAL innodb_file_format=Antelope;
|