mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 14:02:32 +01:00
0cbc668fc2
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
24 lines
990 B
Text
24 lines
990 B
Text
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_max = Barracuda;
|
|
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_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'
|