summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorsergefp@mysql.com <>2006-07-21 23:45:34 +0400
committersergefp@mysql.com <>2006-07-21 23:45:34 +0400
commit9024ed81c7baca7f88232ad3c9834117735c0ab5 (patch)
treebb317a1f7fb57b1b8e6b71bbf1d93f5d1c912294 /sql/item_subselect.h
parentbcf822841b8a938ef90600e8eb26093724af2617 (diff)
parentbffd438de3a09f7001107648d09c398275cfa136 (diff)
downloadmariadb-git-9024ed81c7baca7f88232ad3c9834117735c0ab5.tar.gz
Merge mysql.com:/home/psergey/mysql-4.1-opt
into mysql.com:/home/psergey/mysql-5.0-opt
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 293408dc09e..45df4f3880d 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -269,14 +269,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; }