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

MCOL-3448 Corrected datatype in predicate for RowItem

RowItem compares, such as (c1,c2) IN ((v11, v21), (v12, v22)) gave bad answers due to a typo getting the wrong datatype.
This commit is contained in:
David Hall
2019-11-05 15:37:10 -06:00
committed by Andrew Hutchings
parent 04b7a6af6c
commit 11f194b5fe

View File

@ -1614,7 +1614,7 @@ bool buildRowColumnFilter(gp_walk_info* gwip, RowColumn* rhs, RowColumn* lhs, It
if (!cc)
break;
sop->setOpType(sc->resultType(), valVec[j]->resultType());
sop->setOpType(sc->resultType(), valVec[j]->columnVec()[i]->resultType());
cf->pushFilter(new SimpleFilter(sop, sc->clone(),
valVec[j]->columnVec()[i]->clone(),
gwip->thd->variables.time_zone->get_name()->ptr()));