mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
Fix compile error in assert coded added by new DISTINCT ON patch.
This commit is contained in:
parent
d59478c4f3
commit
c8c2b7fff9
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.95 2002/07/04 15:23:29 thomas Exp $
|
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.96 2002/07/04 16:44:08 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -931,7 +931,7 @@ ExecEvalDistinct(Expr *opClause,
|
|||||||
MemSet(&fcinfo, 0, sizeof(fcinfo));
|
MemSet(&fcinfo, 0, sizeof(fcinfo));
|
||||||
fcinfo.flinfo = &(fcache->func);
|
fcinfo.flinfo = &(fcache->func);
|
||||||
argDone = ExecEvalFuncArgs(&fcinfo, argList, econtext);
|
argDone = ExecEvalFuncArgs(&fcinfo, argList, econtext);
|
||||||
Assert(fcinfo->nargs == 2);
|
Assert(fcinfo.nargs == 2);
|
||||||
|
|
||||||
if (fcinfo.argnull[0] && fcinfo.argnull[1])
|
if (fcinfo.argnull[0] && fcinfo.argnull[1])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user