Commit 92005d63 authored by Sergey Glukhov's avatar Sergey Glukhov

compilation failure fix

parent d4ce93e1
...@@ -5412,7 +5412,7 @@ check_table_access(THD *thd, ulong requirements,TABLE_LIST *tables, ...@@ -5412,7 +5412,7 @@ check_table_access(THD *thd, ulong requirements,TABLE_LIST *tables,
DBUG_PRINT("info", ("derived: %d view: %d", tables->derived != 0, DBUG_PRINT("info", ("derived: %d view: %d", tables->derived != 0,
tables->view != 0)); tables->view != 0));
if (tables->is_anonymous_derived_table() || if (tables->is_anonymous_derived_table() ||
(tables->table && (int)tables->table->s && (tables->table && tables->table->s &&
(int)tables->table->s->tmp_table)) (int)tables->table->s->tmp_table))
continue; continue;
thd->security_ctx= sctx; thd->security_ctx= sctx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment