Fix typo/bug, found by Clang compiler
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 12 Jun 2010 09:14:52 +0000 (09:14 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 12 Jun 2010 09:14:52 +0000 (09:14 +0000)
src/backend/access/transam/xlog.c

index 4597814759d5f42762741d1246c58adb2b6fd207..a72d7f24da03d1ce33ec64685227bce968dfe8df 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.422 2010/06/10 08:13:50 itagaki Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.423 2010/06/12 09:14:52 petere Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -7756,7 +7756,7 @@ XLogReportParameters(void)
    if (wal_level != ControlFile->wal_level ||
        MaxConnections != ControlFile->MaxConnections ||
        max_prepared_xacts != ControlFile->max_prepared_xacts ||
-       max_locks_per_xact != max_locks_per_xact)
+       max_locks_per_xact != ControlFile->max_locks_per_xact)
    {
        /*
         * The change in number of backend slots doesn't need to be