diff options
author | dlenev@brandersnatch.localdomain <> | 2004-12-09 13:31:46 +0300 |
---|---|---|
committer | dlenev@brandersnatch.localdomain <> | 2004-12-09 13:31:46 +0300 |
commit | 4b0882e0a6ad63c99353856f830b5f3db8c0b899 (patch) | |
tree | c0a62a11e69bc638b292d33dcb38fe1b5c82194d /sql/sql_derived.cc | |
parent | 19dab11881e900c9e79db570b2f6456f67aa23fb (diff) | |
download | mariadb-git-4b0882e0a6ad63c99353856f830b5f3db8c0b899.tar.gz |
Fix for bug #6765 "Implicit access to time zone description
tables requires privileges for them if some table or column level grants
present" (with after-review fixes).
We should set SELECT_ACL for implicitly opened tables in
my_tz_check_n_skip_implicit_tables() to be able to bypass privilege
checking in check_grant(). Also we should exclude those tables from
privilege checking in multi-update.
Diffstat (limited to 'sql/sql_derived.cc')
-rw-r--r-- | sql/sql_derived.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_derived.cc b/sql/sql_derived.cc index 3259e0a4f22..9475ec08c96 100644 --- a/sql/sql_derived.cc +++ b/sql/sql_derived.cc @@ -23,7 +23,6 @@ #include "mysql_priv.h" #include "sql_select.h" -#include "sql_acl.h" static int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *s, TABLE_LIST *t); |