[MDEV-25197] The statement set password=password('') executed in PS mode fails in case it is run by a user with expired password Created: 2021-03-19 Updated: 2021-04-14 Resolved: 2021-04-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Prepared Statements |
| Affects Version/s: | 10.4, 10.5, 10.6 |
| Fix Version/s: | 10.4.19, 10.5.10, 10.6.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Dmitry Shulga | Assignee: | Dmitry Shulga |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
A user with an expired password connected to a server can't assign new password with the statement "SET password=..." if the statement is run in PS mode, for example when it is submitted to server via binary protocol. Test case is below.
In case the statement
is run as a regular statement it is executed successfully. |
| Comments |
| Comment by Oleksandr Byelkin [ 2021-04-06 ] | |||||||||||
|
OK to push, but please merge all commits in one befor doing it. | |||||||||||
| Comment by Dmitry Shulga [ 2021-04-13 ] | |||||||||||
|
Please don't forget to apply the following change set against 10.6.
was added only in 10.6
|