Commit 213392db authored by unknown's avatar unknown

UNCACHEABLE_EXPLAIN is enough

parent 1a4f499c
...@@ -991,7 +991,7 @@ JOIN::optimize() ...@@ -991,7 +991,7 @@ JOIN::optimize()
} }
} }
if (select_lex->master_unit()->uncacheable || thd->lex->describe) if (select_lex->master_unit()->uncacheable)
{ {
if (!(tmp_join= (JOIN*)thd->alloc(sizeof(JOIN)))) if (!(tmp_join= (JOIN*)thd->alloc(sizeof(JOIN))))
DBUG_RETURN(-1); DBUG_RETURN(-1);
......
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