Skip to content

Commit 3e0b05a

Browse files
committed
1 parent 793beab commit 3e0b05a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/executor/execExpr.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2861,7 +2861,6 @@ ExecBuildAggTrans(AggState *aggstate, AggStatePerPhase phase,
28612861
for (transno = 0; transno < aggstate->numtrans; transno++)
28622862
{
28632863
AggStatePerTrans pertrans = &aggstate->pertrans[transno];
2864-
int numInputs = pertrans->numInputs;
28652864
int argno;
28662865
int setno;
28672866
FunctionCallInfo trans_fcinfo = &pertrans->transfn_fcinfo;
@@ -3016,7 +3015,7 @@ ExecBuildAggTrans(AggState *aggstate, AggStatePerPhase phase,
30163015
argno++;
30173016
}
30183017
}
3019-
Assert(numInputs == argno);
3018+
Assert(pertrans->numInputs == argno);
30203019

30213020
/*
30223021
* For a strict transfn, nothing happens when there's a NULL input; we

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy