Commit 9fa202de authored by serg@serg.mylan's avatar serg@serg.mylan

and -> &&

parent 8cdc27da
...@@ -4673,10 +4673,10 @@ Item * all_any_subquery_creator(Item *left_expr, ...@@ -4673,10 +4673,10 @@ Item * all_any_subquery_creator(Item *left_expr,
bool all, bool all,
SELECT_LEX *select_lex) SELECT_LEX *select_lex)
{ {
if ((cmp == &comp_eq_creator) and !all) // = ANY <=> IN if ((cmp == &comp_eq_creator) && !all) // = ANY <=> IN
return new Item_in_subselect(left_expr, select_lex); return new Item_in_subselect(left_expr, select_lex);
if ((cmp == &comp_ne_creator) and all) // <> ALL <=> NOT IN if ((cmp == &comp_ne_creator) && all) // <> ALL <=> NOT IN
return new Item_func_not(new Item_in_subselect(left_expr, select_lex)); return new Item_func_not(new Item_in_subselect(left_expr, select_lex));
Item_allany_subselect *it= Item_allany_subselect *it=
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment