diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2012-10-06 11:03:37 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2012-10-06 11:03:37 +0400 |
commit | 30df032e28bada8aabc1c850799795c728cd96b7 (patch) | |
tree | 4d7d8b6e481197bcd1cf04368d7c19316b047527 /sql/item_subselect.cc | |
parent | 79feec77ed4a7121e68be1dc16f79dcad6c5d25e (diff) | |
parent | 4d8be2d4f6d7a7b669b7931f1a0ccb5de130fee6 (diff) | |
download | mariadb-git-30df032e28bada8aabc1c850799795c728cd96b7.tar.gz |
SHOW EXPLAIN: merge with 5.5-main
Diffstat (limited to 'sql/item_subselect.cc')
-rw-r--r-- | sql/item_subselect.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc index 2f6b4549d8d..a4cfd3b82ca 100644 --- a/sql/item_subselect.cc +++ b/sql/item_subselect.cc @@ -1919,7 +1919,7 @@ bool Item_allany_subselect::is_maxmin_applicable(JOIN *join) WHERE condition. */ return (abort_on_null || (upper_item && upper_item->is_top_level_item())) && - !join->select_lex->master_unit()->uncacheable && !func->eqne_op(); + !(join->select_lex->master_unit()->uncacheable & ~UNCACHEABLE_EXPLAIN) && !func->eqne_op(); } |