[MDEV-22974] SHOW CREATE USER generates invalid SQL Created: 2020-06-22 Updated: 2020-12-11 Resolved: 2020-10-30 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System |
| Affects Version/s: | 10.4, 10.5 |
| Fix Version/s: | 10.4.16, 10.5.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Daniel Black | Assignee: | Daniel Black |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Is "invalid" something that should be literally accepted for compatibility? To not do so means programs and humans that use SHOW CREATE USER output needs to parse out this text and remove it. |
| Comments |
| Comment by Daniel Black [ 2020-07-22 ] | ||||||||||||||||||||||
|
Given the "invalid" is a part of the password field instead of a user hash, I saw the easiest way just to accept that one literal. per https://github.com/MariaDB/server/pull/1628 Alternate suggestions welcome | ||||||||||||||||||||||
| Comment by Daniel Black [ 2020-09-03 ] | ||||||||||||||||||||||
|
So begins with '*' and has the right length is the compatibility to aim for if supporting the mysql-5.7 syntax/definitions. | ||||||||||||||||||||||
| Comment by Daniel Black [ 2020-10-24 ] | ||||||||||||||||||||||
|
First review: https://lists.launchpad.net/maria-developers/msg12435.html Addressed review with bb-10.4-danielblack- |