summaryrefslogtreecommitdiff
path: root/sql/sql_yacc.yy
diff options
context:
space:
mode:
authordlenev@brandersnatch.localdomain <>2004-12-09 13:31:46 +0300
committerdlenev@brandersnatch.localdomain <>2004-12-09 13:31:46 +0300
commit4b0882e0a6ad63c99353856f830b5f3db8c0b899 (patch)
treec0a62a11e69bc638b292d33dcb38fe1b5c82194d /sql/sql_yacc.yy
parent19dab11881e900c9e79db570b2f6456f67aa23fb (diff)
downloadmariadb-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_yacc.yy')
-rw-r--r--sql/sql_yacc.yy1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index 8cbfaf3f99b..03acc81b5ab 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -32,7 +32,6 @@
#define Select Lex->current_select
#include "mysql_priv.h"
#include "slave.h"
-#include "sql_acl.h"
#include "lex_symbol.h"
#include "item_create.h"
#include <myisam.h>