1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-6243 mysql_install_db or mysql_upgrade fails when default_engine=archive

don't use the default storage engine for mysql.gtid_slave_pos, prefer innodb.
but alter it to myisam in mtr, because many tests run without innodb.
This commit is contained in:
Sergei Golubchik
2014-06-05 09:04:43 +02:00
parent 59cea2e1bf
commit e22c3810f0
2 changed files with 21 additions and 10 deletions

View File

@ -3600,6 +3600,9 @@ sub mysql_install_db {
mtr_appendfile_to_file("$sql_dir/fill_help_tables.sql",
$bootstrap_sql_file);
# mysql.gtid_slave_pos was created in InnoDB, but many tests
# run without InnoDB. Alter it to MyISAM now
mtr_tofile($bootstrap_sql_file, "ALTER TABLE gtid_slave_pos ENGINE=MyISAM;\n");
}
else
{