mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
This change splits innodb_file_format_check into innodb_file_format_check
and innodb_file_format_max two system variables. And this also fixes bug #53654 after 2nd shutdown innodb_file_format_check attains strange values. rb://366 approved by Marko
This commit is contained in:
@ -1,24 +1,24 @@
|
||||
set @old_innodb_file_format_check=@@innodb_file_format_check;
|
||||
select @old_innodb_file_format_check;
|
||||
@old_innodb_file_format_check
|
||||
set @old_innodb_file_format_max=@@innodb_file_format_max;
|
||||
select @old_innodb_file_format_max;
|
||||
@old_innodb_file_format_max
|
||||
Antelope
|
||||
set global innodb_file_format_check = Barracuda;
|
||||
select @@innodb_file_format_check;
|
||||
@@innodb_file_format_check
|
||||
set global innodb_file_format_max = Barracuda;
|
||||
select @@innodb_file_format_max;
|
||||
@@innodb_file_format_max
|
||||
Barracuda
|
||||
set global innodb_file_format_check = DEFAULT;
|
||||
select @@innodb_file_format_check;
|
||||
@@innodb_file_format_check
|
||||
Barracuda
|
||||
set global innodb_file_format_check = @old_innodb_file_format_check;
|
||||
select @@innodb_file_format_check;
|
||||
@@innodb_file_format_check
|
||||
set global innodb_file_format_max = DEFAULT;
|
||||
select @@innodb_file_format_max;
|
||||
@@innodb_file_format_max
|
||||
Antelope
|
||||
set global innodb_file_format_check = cheetah;
|
||||
ERROR 42000: Variable 'innodb_file_format_check' can't be set to the value of 'cheetah'
|
||||
set global innodb_file_format_check = Bear;
|
||||
ERROR 42000: Variable 'innodb_file_format_check' can't be set to the value of 'Bear'
|
||||
set global innodb_file_format_check = on;
|
||||
ERROR 42000: Variable 'innodb_file_format_check' can't be set to the value of 'ON'
|
||||
set global innodb_file_format_check = off;
|
||||
ERROR 42000: Variable 'innodb_file_format_check' can't be set to the value of 'off'
|
||||
set global innodb_file_format_max = @old_innodb_file_format_max;
|
||||
select @@innodb_file_format_max;
|
||||
@@innodb_file_format_max
|
||||
Antelope
|
||||
set global innodb_file_format_max = cheetah;
|
||||
ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'cheetah'
|
||||
set global innodb_file_format_max = Bear;
|
||||
ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'Bear'
|
||||
set global innodb_file_format_max = on;
|
||||
ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'ON'
|
||||
set global innodb_file_format_max = off;
|
||||
ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'off'
|
||||
|
Reference in New Issue
Block a user