diff options
author | Alexander Barkov <bar@mariadb.com> | 2020-02-09 21:53:11 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2020-02-11 08:10:26 +0400 |
commit | 83e75b39b3611d60ac59e851f742a13f2ee95393 (patch) | |
tree | a1ab536573067a6578631d3e5e89da612f745ec8 /sql/opt_trace.cc | |
parent | f79f537f9facb5a050697ad3dbf6e4a617c3c128 (diff) | |
download | mariadb-git-83e75b39b3611d60ac59e851f742a13f2ee95393.tar.gz |
MDEV-21702 Add a data type for privileges
Diffstat (limited to 'sql/opt_trace.cc')
-rw-r--r-- | sql/opt_trace.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_trace.cc b/sql/opt_trace.cc index d95f0795542..7ff11e65a30 100644 --- a/sql/opt_trace.cc +++ b/sql/opt_trace.cc @@ -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()) { /* |