mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
26 lines
518 B
Text
26 lines
518 B
Text
--source include/mysql_upgrade_preparation.inc
|
|
|
|
let $MYSQLD_DATADIR= `select @@datadir`;
|
|
|
|
--echo #
|
|
--echo # Stat of 10.6 tests
|
|
--echo #
|
|
|
|
--echo #
|
|
--echo # MDEV-34014 mysql_upgrade failed
|
|
--echo #
|
|
|
|
SHOW CREATE DATABASE sys;
|
|
|
|
--echo # Emulate db.opt file was removed in a mistake
|
|
--remove_file $MYSQLD_DATADIR/sys/db.opt
|
|
FLUSH TABLES;
|
|
SHOW CREATE DATABASE sys;
|
|
|
|
--exec $MYSQL_UPGRADE --force 2>&1
|
|
--remove_file $MYSQLD_DATADIR/mariadb_upgrade_info
|
|
SHOW CREATE DATABASE sys;
|
|
|
|
--echo #
|
|
--echo # End of 10.6 tests
|
|
--echo #
|