diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2010-01-15 17:03:51 +0400 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2010-01-15 17:03:51 +0400 |
commit | b6685d35dcc45e4fc8eca53fa8f6d3315f2e6b89 (patch) | |
tree | 5ef1f15c8563d8bcf4cacd6601eac0db005d2bb9 /sql | |
parent | 5a4a98af14fb92df95a6333cdfeaa76b17f6a3de (diff) | |
download | mariadb-git-b6685d35dcc45e4fc8eca53fa8f6d3315f2e6b89.tar.gz |
compilation failure fix
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_parse.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index f5bba693190..49d18cbe5d7 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -5412,7 +5412,7 @@ check_table_access(THD *thd, ulong requirements,TABLE_LIST *tables, DBUG_PRINT("info", ("derived: %d view: %d", tables->derived != 0, tables->view != 0)); if (tables->is_anonymous_derived_table() || - (tables->table && (int)tables->table->s && + (tables->table && tables->table->s && (int)tables->table->s->tmp_table)) continue; thd->security_ctx= sctx; |