mirror of
https://github.com/MariaDB/server.git
synced 2025-03-08 04:03:30 +01:00

The default storage engine is changed from MyISAM to InnoDB, in all builds except for the embedded server. In addition, the following system variables are changed: * innodb_file_per_table is enabled * innodb_strict_mode is enabled * innodb_file_format_name_update is changed to 'Barracuda' The test suite is changed so that tests that do not explicitly include the have_innodb.inc are run with --default-storage-engine=MyISAM. This is to ease the transition, so that most regression tests are run with the same engine as before. Some tests are disabled for the embedded server regression test, as the output of certain statements will be different that for the regular server (i.e SELECT @@default_storage_engine). This is to ease transition.
50 lines
1.7 KiB
Text
50 lines
1.7 KiB
Text
select @@innodb_file_format;
|
|
@@innodb_file_format
|
|
Barracuda
|
|
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
|
|
Barracuda
|
|
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
|
|
Barracuda
|
|
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=Barracuda;
|
|
SET GLOBAL innodb_file_format_max=Antelope;
|