Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 69639e2

Browse files
committed
Fix uninitialized variable.
I'm very surprised the compiler didn't warn about it. But Coverity and Valgrind did.
1 parent 4b35408 commit 69639e2

File tree

1 file changed

+2
-0
lines changed
  • src/backend/access/transam

1 file changed

+2
-0
lines changed

src/backend/access/transam/xlog.c

+2
Original file line numberDiff line numberDiff line change
@@ -5286,6 +5286,8 @@ StartupXLOG(void)
52865286
PerformWalRecovery();
52875287
performedWalRecovery = true;
52885288
}
5289+
else
5290+
performedWalRecovery = false;
52895291

52905292
/*
52915293
* Finish WAL recovery.

0 commit comments

Comments
 (0)