[MDEV-19948] 'show grants' return privileges individually Created: 2019-07-04 Updated: 2019-07-25 Resolved: 2019-07-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 10.3.15 |
| Fix Version/s: | 10.3.17, 10.4.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | TAO ZHOU | Assignee: | Anel Husakovic |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
After upgrading from 10.2.24 to 10.3.15, I found that `show grants` does not return "ALL PRIVILEGES" but returns every single privilege individually. Before upgrading it returns
After:
I tried recreating the user and running 'grant all privileges' again, but still the same result. |
| Comments |
| Comment by Anel Husakovic [ 2019-07-04 ] | |||||||||||||||||||||||||
|
Hi laocius, what happens after second time you start mysqld and run show grants for new user created on 10.3? | |||||||||||||||||||||||||
| Comment by TAO ZHOU [ 2019-07-04 ] | |||||||||||||||||||||||||
|
I tried restarting mysqld and still got the same result. | |||||||||||||||||||||||||
| Comment by Anel Husakovic [ 2019-07-07 ] | |||||||||||||||||||||||||
|
Hi laocius,
General observation is that {DELETE_HISTORY_PRIV}} exists in 10.3 and is not used in 10.2. Temporary patch is done 2 days ago.
| |||||||||||||||||||||||||
| Comment by Anel Husakovic [ 2019-07-25 ] | |||||||||||||||||||||||||
|
Closed with 55d8ff0de8168d3b7d4 Updated in 10.2 with commit ee555f8fc5fed02503d45 |