mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
WL#5349 Change default storage engine to InnoDB
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.
This commit is contained in:
@ -3435,8 +3435,16 @@ static int init_common_variables()
|
||||
compiler error in the Sun Studio 12 compiler. As a work-around we
|
||||
set the def_value member to 0 in my_long_options and initialize it
|
||||
to the correct value here.
|
||||
|
||||
From MySQL 5.5 onwards, the default storage engine is InnoDB
|
||||
(except in the embedded server, where the default continues to
|
||||
be MyISAM)
|
||||
*/
|
||||
#ifdef EMBEDDED_LIBRARY
|
||||
default_storage_engine= const_cast<char *>("MyISAM");
|
||||
#else
|
||||
default_storage_engine= const_cast<char *>("InnoDB");
|
||||
#endif
|
||||
|
||||
/*
|
||||
Add server status variables to the dynamic list of
|
||||
|
Reference in New Issue
Block a user