Skip to content

Commit 71ed1e5

Browse files
committed
Small logic fix.
1 parent 7c64f03 commit 71ed1e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ pg_ptrack_clear(void)
554554
for(i=0; i < PQntuples(res_db); i++)
555555
{
556556
dbname = PQgetvalue(res_db, i, 0);
557-
if (strcmp(dbname, "template0"))
557+
if (!strcmp(dbname, "template0"))
558558
continue;
559559
reconnect();
560560
res = execute("SELECT pg_ptrack_clear()", 0, NULL);

0 commit comments

Comments
 (0)