1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-10-31 18:30:33 +03:00

fix: MCOL-5778 sum return null value due to nullif function

This commit is contained in:
mariadb-KristinaPavlova
2025-09-24 10:58:17 +03:00
committed by Leonid Fedorov
parent af6a716079
commit b01be6ae2d
3 changed files with 39 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ bool nonConstFunc(Item_func* ifp)
{
if (ifp->arguments()[i]->type() == Item::FUNC_ITEM && nonConstFunc(((Item_func*)ifp->arguments()[i])))
return true;
if (ifp->arguments()[i]->type() == Item::CACHE_ITEM)
return true;
}
return false;