diff options
author | unknown <sergefp@mysql.com> | 2006-07-21 03:04:04 +0400 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2006-07-21 03:04:04 +0400 |
commit | 68698c04abfbcbee1b67b5daca6695ada679ac4f (patch) | |
tree | 870ce9c07717c98bedb9710afb3c7278c02b623f /sql/item_subselect.h | |
parent | 6ec7976df97d5c9ced3f2e50339c74f19cda32fd (diff) | |
download | mariadb-git-68698c04abfbcbee1b67b5daca6695ada679ac4f.tar.gz |
BUG#20975: Incorrect query result for NOT (subquery):
Add implementations of Item_func_{nop,not}_all::neg_transformer
mysql-test/r/subselect.result:
BUG#20975: testcase
mysql-test/t/subselect.test:
BUG#20975: testcase
sql/mysql_priv.h:
Make chooser_compare_func_creator visible in item.h
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r-- | sql/item_subselect.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h index dec32398a80..93171ad64a1 100644 --- a/sql/item_subselect.h +++ b/sql/item_subselect.h @@ -251,14 +251,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; } |