]> git.99rst.org Git - openwrt-packages.git/commit
mariadb: init - check file versions
authorDaniel Black <redacted>
Thu, 10 Sep 2026 00:59:56 +0000 (10:59 +1000)
committerJosef Schlehofer <redacted>
Thu, 10 Sep 2026 08:20:50 +0000 (10:20 +0200)
commitbc8c5e84c140449ea54fb29871f731aae25220f2
treec34ac393820216d742c52b99330777e1b70f08eb
parent66d20fbcd0d9afaf82170ad915be6c9b8de786af
mariadb: init - check file versions

mariadb-upgrade has had its own upgrade version file in the datadir,
called mysql_upgrade_info in <= 10.11 and mariadb_upgrade_info there
after.

The mariadb-install-db creates this file, and also the mariadb-upgrade
executable creates this file also.

This removes the need to maintain the .version info though this is used
as a last check of the upgrade.

Signed-off-by: Daniel Black <redacted>
utils/mariadb/files/mysqld.init
git clone https://git.99rst.org/PROJECT