Commit 8885ce0d authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

UNCACHEABLE_EXPLAIN is enough

parent 3aae50e8
......@@ -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))))
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