mirror of
https://github.com/MariaDB/server.git
synced 2025-07-23 08:45:18 +03:00
Renames the upgrade state file, and ensures the old file is properly removed when `mariadb-upgrade` tool is executed. All new code of the whole pull request, including one or several files that are either new files or modified ones, are contributed under the BSD-new license. I am contributing on behalf of my employer Amazon Web Services, Inc.
7 lines
200 B
Plaintext
7 lines
200 B
Plaintext
--source include/mysql_upgrade_preparation.inc
|
|
|
|
--exec $MYSQL_UPGRADE --force --upgrade-system-tables 2>&1
|
|
|
|
let $MYSQLD_DATADIR= `select @@datadir`;
|
|
--remove_file $MYSQLD_DATADIR/mariadb_upgrade_info
|