Bug #76911 | ALTER USER rewrite causes differences on slave | ||
---|---|---|---|
Submitted: | 1 May 2015 20:13 | Modified: | 13 May 2015 15:43 |
Reporter: | Todd Farmer (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Security: Privileges | Severity: | S2 (Serious) |
Version: | 5.7.7 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[1 May 2015 20:13]
Todd Farmer
[13 May 2015 15:43]
Paul DuBois
Noted in 5.7.8, 5.8.0 changelogs. For logging to the binary log, the server could rewrite CREATE USER and ALTER USER statements, adding an ACCOUNT UNLOCK clause not present in the original statement. This could unlock locked accounts. The clause is no longer written unless present in the original statement.
[13 May 2015 15:45]
Paul DuBois
Revised changelog entry (mentions replication implication): For logging to the binary log, the server could rewrite CREATE USER and ALTER USER statements, adding an ACCOUNT UNLOCK clause not present in the original statement. This could unlock locked accounts and cause differences between master and slave servers. The clause is no longer written unless present in the original statement.