Commit cb6d7c3e authored by Seth Shelnutt's avatar Seth Shelnutt Committed by Anel Husakovic

MDEV-20972: `or` alterative operator breaking windows build

Closes #1405
parent 6cedb671
......@@ -123,7 +123,7 @@ void Item_subselect::init(st_select_lex *select_lex,
NO_MATTER :
outer_select->parsing_place);
if (unit->is_unit_op() &&
(unit->first_select()->next_select() or unit->fake_select_lex))
(unit->first_select()->next_select() || unit->fake_select_lex))
engine= new subselect_union_engine(unit, result, this);
else
engine= new subselect_single_select_engine(select_lex, result, this);
......
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