You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Reverse loop must still account for 0 based array
This commit is contained in:
@ -2545,7 +2545,7 @@ ReturnedColumn* buildFunctionColumn(Item_func* ifp, gp_walk_info& gwi, bool& non
|
||||
else // where clause
|
||||
{
|
||||
stack<SPTP> tmpPtStack;
|
||||
for (int32_t i = ifp->argument_count(); i>0; i--)
|
||||
for (int32_t i = ifp->argument_count()-1; i>=0; i--)
|
||||
{
|
||||
if (isPredicateFunction((ifp->arguments()[i]), &gwi) && !gwi.ptWorkStack.empty())
|
||||
{
|
||||
|
Reference in New Issue
Block a user