1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-3903 Fix the fail in expBetween(BETWEEN in projection wasn't

processed as expected.)
This commit is contained in:
Roman Nozdrin
2020-04-01 17:22:57 +00:00
parent ab2003baaa
commit 6ea30f64fd

View File

@ -5653,7 +5653,7 @@ void gp_walk(const Item* item, void* arg)
if (col->type() != Item::COND_ITEM) if (col->type() != Item::COND_ITEM)
{ {
rc = buildReturnedColumn(col, *gwip, gwip->fatalParseError, false); rc = buildReturnedColumn(col, *gwip, gwip->fatalParseError, true);
if ( col->type() == Item::FIELD_ITEM ) if ( col->type() == Item::FIELD_ITEM )
gwip->fatalParseError = false; gwip->fatalParseError = false;
@ -6921,7 +6921,7 @@ int getSelectPlan(gp_walk_info& gwi, SELECT_LEX& select_lex,
ReturnedColumn* rc; ReturnedColumn* rc;
if (funcName == "in" || funcName == " IN " || funcName == "between") if (funcName == "in" || funcName == " IN " || funcName == "between")
{ {
rc = buildFunctionColumn(ifp, gwi, hasNonSupportItem, false); rc = buildFunctionColumn(ifp, gwi, hasNonSupportItem, true);
} }
else else
{ {