Bug #63370 | LOCK on P_S tables blocks User Management | ||
---|---|---|---|
Submitted: | 21 Nov 2011 20:50 | Modified: | 22 Nov 2011 7:51 |
Reporter: | Peter Laursen (Basic Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.5.18 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | qc |
[21 Nov 2011 20:50]
Peter Laursen
[22 Nov 2011 6:18]
MySQL Verification Team
I could have missed what the bug is. If you lock tables, you must lock all the tables that you plan to update. I guess GRANT statement updates `mysql`.`user` table so you'd need to write lock that table too ?
[22 Nov 2011 7:51]
Peter Laursen
Thanks for the explanation. I did not realize that that also applies when using GRANT syntax.