| Bug #119482 | OPTIMIZE_LOCAL_TABLE does not support databse-level and table-level granting, which is inconsistent to the documentation | ||
|---|---|---|---|
| Submitted: | 1 Dec 12:00 | Modified: | 1 Dec 12:04 |
| Reporter: | Jingzhou Fu | Email Updates: | |
| Status: | Open | Impact on me: | |
| Category: | MySQL Server: Security: Privileges | Severity: | S3 (Non-critical) |
| Version: | 9.5.0 | OS: | Linux |
| Assigned to: | CPU Architecture: | Any | |
[1 Dec 12:00]
Jingzhou Fu
[1 Dec 12:03]
Jingzhou Fu
The documentation points out that the OPTIMIZE_LOCAL_TABLE privilege should support these levels: "Levels: Global, database, table", but actually it supports only the global-level.
[1 Dec 12:04]
Jingzhou Fu
The above SQL command outputs: "ERROR 3619 (HY000): Illegal privilege level specified for OPTIMIZE_LOCAL_TABLE"
