[MDEV-29659] Got error 1227 when reading table and ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER privilege(s) for this operation on SELECT or HANDLER READ when using spider_internal_sql_log_off=0 Created: 2022-09-28 Updated: 2023-12-16 Resolved: 2023-12-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Spider |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Roel Van de Paar | Assignee: | Alexey Botchkov |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | affects-tests | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Leads to:
Bug confirmed present in: Perror for ERROR 1227:
|
| Comments |
| Comment by Roel Van de Paar [ 2022-09-28 ] | ||||||
|
Additional testcase
| ||||||
| Comment by Yuchen Pei [ 2023-12-08 ] | ||||||
|
It looks like this is expected, see the kb[1]
[1] https://mariadb.com/kb/en/spider-use-cases/#enable-use-of-non-root-connections Any opposition to closing this as not a bug? | ||||||
| Comment by Roel Van de Paar [ 2023-12-08 ] | ||||||
|
Agreed, we can close based on this. Is there something we can do about the error log message - to make it clearer (like in the client)? | ||||||
| Comment by Yuchen Pei [ 2023-12-08 ] | ||||||
|
Thanks Roel - I'm closing this ticket for now. Please feel free to create a task to improve the error message. | ||||||
| Comment by Roel Van de Paar [ 2023-12-16 ] | ||||||
|
MDEV-33041 Improved documentation for spider_internal_sql_log_off | ||||||
| Comment by Roel Van de Paar [ 2023-12-16 ] | ||||||
|
MDEV-33042 Improve unclear 'Got error 1227' error log message | ||||||
| Comment by Roel Van de Paar [ 2023-12-16 ] | ||||||
|
MDEV-33043 Possible performance optimization when using spider_internal_sql_log_off=0/1 |