[MDEV-14716] Wrong binlog entries for a multi-user CREATE USER statement Created: 2017-12-20 Updated: 2023-04-27 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System, Replication |
| Affects Version/s: | 10.0, 10.1, 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Andrei Elkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
I create a test file with this content:
and run the test. It prints this output:
Note, user2 was not actually created because of the password policy, however it got printed into the binary log. This can cause problems with replication. |
| Comments |
| Comment by Alexander Barkov [ 2017-12-20 ] | ||||||||||||||||||||||||||||
|
The same problem is repeatable without simple_password_check plugin:
Note, user2 was not created due to a wrong password hash, however it was logged. It should be fixed:
| ||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2017-12-20 ] | ||||||||||||||||||||||||||||
|
bar, did it happen in the scope of | ||||||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2017-12-27 ] | ||||||||||||||||||||||||||||
|
elenst, it did not happen in the scope of |