Browse Source

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

Closes #1405
bb-10.4-MDEV-19781
Seth Shelnutt 6 years ago
committed by Anel Husakovic
parent
commit
cb6d7c3ee3
  1. 2
      sql/item_subselect.cc

2
sql/item_subselect.cc

@ -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);

Loading…
Cancel
Save