1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-27 05:41:41 +03:00
Files
mariadb/scripts
Daniel Black 4590f8b41c MDEV-26363 Passwords incorrectly expiring after MySQL5.7 -> MariaDB10.3 -> 10.4+ upgrades
MySQL-5.7 mysql.user tables have a last_password_changed field.

Because before MariaDB-10.4 remained oblivious to this, the act of creating
users or otherwise changing a users row left the last_password_field with 0.

Running a MariaDB-10.4 instance on this would work correctly, until mysql_upgrade
is run, when this 0 value immediately translates to password expired
state.

MySQL-5.7 relied on the password_expired enum to indicate password
expiry so we aren't going to activate password that were expired in
MySQL-5.7.

Thanks Hans Borresen for the bug report and review of the fix.
2021-10-20 12:39:04 +11:00
..
2021-03-31 09:47:14 +03:00
2019-05-11 21:29:06 +03:00
2020-10-29 13:38:38 +02:00
2019-05-14 17:18:46 +03:00
2019-10-25 12:57:36 +03:00
2021-07-31 22:59:58 +02:00
2019-05-11 22:19:05 +03:00
2020-09-24 08:09:56 +10:00