1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

BUG#20975: Incorrect query result for NOT (subquery):

Add implementations of Item_func_{nop,not}_all::neg_transformer
This commit is contained in:
sergefp@mysql.com
2006-07-21 03:04:04 +04:00
parent f201828dd8
commit bffd438de3
8 changed files with 76 additions and 10 deletions

View File

@@ -5436,7 +5436,7 @@ Item * all_any_subquery_creator(Item *left_expr,
return new Item_func_not(new Item_in_subselect(left_expr, select_lex));
Item_allany_subselect *it=
new Item_allany_subselect(left_expr, (*cmp)(all), select_lex, all);
new Item_allany_subselect(left_expr, cmp, select_lex, all);
if (all)
return it->upper_item= new Item_func_not_all(it); /* ALL */