Skip to content
Snippets Groups Projects
Commit 1bd6f76e authored by Tom Lane's avatar Tom Lane
Browse files

equalAttr() had its strcmp test backwards :-(

parent 73dd7162
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
*
*
* 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)
static bool
_equalAttr(Attr *a, Attr *b)
{
if (!strcmp(a->relname, b->relname))
if (strcmp(a->relname, b->relname) != 0)
return false;
if (!equal(a->attrs, b->attrs))
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment