Remove MySQL names (MDEV-30201)

[MDEV-30498] Rename mysql_upgrade state file to mariadb_upgrade Created: 2023-01-29  Updated: 2023-02-23  Resolved: 2023-02-07

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients
Affects Version/s: 11.0
Fix Version/s: 11.0.1

Type: Technical task Priority: Major
Reporter: Daniel Black Assignee: Andrew Hutchings
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-30499 mariadb in-server upgrade Open

 Description   

Using mariadb_upgrade as the state file in mariadb-upgrade and mariadb-install-db is a limited scope change.

As it will be introduced in a major version change the only backwards compatible thing is to cleanup/remove the mysql_upgrade state file on upgrade.

AFAIK there isn't a need to look inside the old mysql_upgrade file.



 Comments   
Comment by Elena Stepanova [ 2023-02-06 ]

A separate but related point: while (if) doing that, it may make sense to adjust the message:

$ sudo mariadb-upgrade
This installation of MariaDB is already upgraded to 11.0.1-MariaDB.
There is no need to run mysql_upgrade again for 11.0.1-MariaDB.
You can use --force if you still want to run mysql_upgrade

Comment by Andrew Hutchings [ 2023-02-07 ]

Contribution merged.

Generated at Thu Feb 08 10:16:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.