diff options
Diffstat (limited to 'sql/sql_acl.cc')
-rw-r--r-- | sql/sql_acl.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index 2771ee25ffd..ad1fd349fb7 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -4643,6 +4643,7 @@ bool check_grant(THD *thd, ulong want_access, TABLE_LIST *tables, Note that during creation of temporary table we still need to check if user has CREATE_TMP_ACL. */ + tl->grant.privilege|= TMP_TABLE_ACLS; tl->grant.want_privilege= 0; continue; } |