Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
5.5, 10.0, 10.1, 10.2, 10.3, 10.4
-
None
Description
CREATE TABLE t1 (a INT); |
LOCK TABLE t1 WRITE; |
FLUSH PRIVILEGES; |
 |
# Cleanup
|
DROP TABLE t1; |
FLUSH PRIVILEGES fails with an error
mysqltest: At line 3: query 'FLUSH PRIVILEGES' failed: 1100: Table 'db' was not locked with LOCK TABLES
|
however the error log reports the problem twice: once as a normal error, and once as a Fatal error:
2018-12-23 4:23:27 4 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'db' was not locked with LOCK TABLES
|
2018-12-23 4:23:27 4 [ERROR] Can't open and lock privilege tables: Table 'db' was not locked with LOCK TABLES
|
Naturally, no crash or abort occurs, the "Fatal error" is bogus.