summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Gonzalez <gondchri@amazon.com>2023-01-31 21:13:41 +0000
committerAndrew Hutchings <andrew@linuxjedi.co.uk>2023-02-07 07:29:04 +0000
commit3622644836f3d5be8ff4d075eae3a21183d88119 (patch)
tree2121132e26ee95285a7c5001dc6aa57c34dfb385 /scripts
parentd6e3d89c805725a9940952964157bfdcba0973a3 (diff)
downloadmariadb-git-3622644836f3d5be8ff4d075eae3a21183d88119.tar.gz
MDEV-30498 Rename mysql_upgrade state file to mariadb_upgrade
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.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysql_install_db.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh
index 766c1895bb1..cc801ca2bfe 100644
--- a/scripts/mysql_install_db.sh
+++ b/scripts/mysql_install_db.sh
@@ -597,7 +597,7 @@ cat_sql()
s_echo "Installing MariaDB/MySQL system tables in '$ldata' ..."
if cat_sql | eval "$filter_cmd_line" | mysqld_install_cmd_line > /dev/null
then
- printf "@VERSION@-MariaDB" > "$ldata/mysql_upgrade_info"
+ printf "@VERSION@-MariaDB" > "$ldata/mariadb_upgrade_info"
s_echo "OK"
else
log_file_place=$ldata