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

MDEV-20972: or alterative operator breaking windows build

Closes #1405
This commit is contained in:
Seth Shelnutt
2019-11-04 16:17:59 -05:00
committed by Anel Husakovic
parent 6cedb671e9
commit cb6d7c3ee3

View File

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