summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorevgen@sunlight.local <>2006-07-30 00:33:24 +0400
committerevgen@sunlight.local <>2006-07-30 00:33:24 +0400
commitef4f14953640962c405e7df7fdb803daaa878128 (patch)
tree7459ead6708231c323be75b3f99c455341370348 /sql/item_subselect.h
parent8cd88a91794e37ec05509ef5ea121bcb69eef0c9 (diff)
parent3ca575dc896753f9dd52f45eaf983219d5cbd899 (diff)
downloadmariadb-git-ef4f14953640962c405e7df7fdb803daaa878128.tar.gz
Merge sunlight.local:/local_work/tmp_merge-5.0-opt-mysql
into sunlight.local:/local_work/tmp_merge-5.1-opt-mysql
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index 85bd7a1139d..a72c6e85739 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -270,14 +270,13 @@ public:
/* ALL/ANY/SOME subselect */
class Item_allany_subselect :public Item_in_subselect
{
-protected:
- Comp_creator *func;
-
public:
+ chooser_compare_func_creator func_creator;
+ Comp_creator *func;
bool all;
- Item_allany_subselect(Item * left_expr, Comp_creator *f,
- st_select_lex *select_lex, bool all);
+ Item_allany_subselect(Item * left_expr, chooser_compare_func_creator fc,
+ st_select_lex *select_lex, bool all);
// only ALL subquery has upper not
subs_type substype() { return all?ALL_SUBS:ANY_SUBS; }