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

Merge pull request #1132 from drrtuy/MCOL-3903_1_4_5

MCOL-3903 Fix the fail in expBetween(BETWEEN in projection wasn't
This commit is contained in:
Patrick LeBlanc
2020-04-01 12:26:07 -05:00
committed by Patrick LeBlanc
parent 6d9544a15e
commit 57595a44ad

View File

@@ -5652,7 +5652,7 @@ void gp_walk(const Item* item, void* arg)
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 )
gwip->fatalParseError = false;
@@ -6920,7 +6920,7 @@ int getSelectPlan(gp_walk_info& gwi, SELECT_LEX& select_lex,
ReturnedColumn* rc;
if (funcName == "in" || funcName == " IN " || funcName == "between")
{
rc = buildFunctionColumn(ifp, gwi, hasNonSupportItem, false);
rc = buildFunctionColumn(ifp, gwi, hasNonSupportItem, true);
}
else
{