mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-21702 Add a data type for privileges
This commit is contained in:
@@ -263,7 +263,7 @@ void opt_trace_disable_if_no_tables_access(THD *thd, TABLE_LIST *tbl)
|
||||
|
||||
bool rc =
|
||||
check_table_access(thd, SELECT_ACL, t, false, 1, true) || // (1)
|
||||
((t->grant.privilege & SELECT_ACL) == 0); // (2)
|
||||
((t->grant.privilege & SELECT_ACL) == NO_ACL); // (2)
|
||||
if (t->is_view())
|
||||
{
|
||||
/*
|
||||
|
Reference in New Issue
Block a user