2024-06-17 15:41:46 +04:00
|
|
|
--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
|
2024-07-05 12:45:07 +02:00
|
|
|
--remove_file $MYSQLD_DATADIR/mariadb_upgrade_info
|
2024-06-17 15:41:46 +04:00
|
|
|
SHOW CREATE DATABASE sys;
|
|
|
|
|
|
|
|
--echo #
|
|
|
|
--echo # End of 10.6 tests
|
|
|
|
--echo #
|