summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorChaithra Gopalareddy <chaithra.gopalareddy@oracle.com>2012-02-24 11:55:28 +0530
committerChaithra Gopalareddy <chaithra.gopalareddy@oracle.com>2012-02-24 11:55:28 +0530
commit5e8eb57168b88c44130f35cab09cc9329eea8566 (patch)
treec1855306f99962db75a31c71394c42cc9d55a8c1 /sql/item_cmpfunc.h
parent916e58fdab4e86f3c08857db6fa0ee4e9108b95c (diff)
parentdf8827d0e6ed8f4a8640640a0bc0f407985d31fa (diff)
downloadmariadb-git-5e8eb57168b88c44130f35cab09cc9329eea8566.tar.gz
Merge from 5.1 to 5.5
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index d3e6c7d7c1c..bf9cf96355f 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -271,7 +271,7 @@ public:
Item_in_optimizer(Item *a, Item_in_subselect *b):
Item_bool_func(a, reinterpret_cast<Item *>(b)), cache(0),
save_cache(0), result_for_null_param(UNKNOWN)
- {}
+ { with_subselect= true; }
bool fix_fields(THD *, Item **);
bool fix_left(THD *thd, Item **ref);
bool is_null();