summaryrefslogtreecommitdiff
path: root/sql/sql_select.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-05-14 13:28:20 +0300
committerunknown <bell@sanja.is.com.ua>2004-05-14 13:28:20 +0300
commit213392db2da0a1ba289429524e7d154ecae779af (patch)
tree0f47bdd970f0d22b53bca76a6d1bc2708b8cec9e /sql/sql_select.cc
parent1a4f499ca87634d4256d2531bab68b32f3e5fa49 (diff)
downloadmariadb-git-213392db2da0a1ba289429524e7d154ecae779af.tar.gz
UNCACHEABLE_EXPLAIN is enough
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r--sql/sql_select.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 2b3de669618..f3b342b3fad 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -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);