Skip to content

Commit c8c2b7f

Browse files
committed
Fix compile error in assert coded added by new DISTINCT ON patch.
1 parent d59478c commit c8c2b7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/executor/execQual.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.95 2002/07/04 15:23:29 thomas Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.96 2002/07/04 16:44:08 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -931,7 +931,7 @@ ExecEvalDistinct(Expr *opClause,
931931
MemSet(&fcinfo, 0, sizeof(fcinfo));
932932
fcinfo.flinfo = &(fcache->func);
933933
argDone = ExecEvalFuncArgs(&fcinfo, argList, econtext);
934-
Assert(fcinfo->nargs == 2);
934+
Assert(fcinfo.nargs == 2);
935935

936936
if (fcinfo.argnull[0] && fcinfo.argnull[1])
937937
{

0 commit comments

Comments
 (0)