Commit 1bd6f76e authored by Tom Lane's avatar Tom Lane

equalAttr() had its strcmp test backwards :-(

parent 73dd7162
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.63 2000/02/21 18:47:00 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.64 2000/03/01 18:47:43 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -98,7 +98,7 @@ _equalExpr(Expr *a, Expr *b) ...@@ -98,7 +98,7 @@ _equalExpr(Expr *a, Expr *b)
static bool static bool
_equalAttr(Attr *a, Attr *b) _equalAttr(Attr *a, Attr *b)
{ {
if (!strcmp(a->relname, b->relname)) if (strcmp(a->relname, b->relname) != 0)
return false; return false;
if (!equal(a->attrs, b->attrs)) if (!equal(a->attrs, b->attrs))
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment