projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b35408
)
Fix uninitialized variable.
author
Heikki Linnakangas
Sun, 20 Feb 2022 16:33:09 +0000
(18:33 +0200)
committer
Heikki Linnakangas
Sun, 20 Feb 2022 16:33:50 +0000
(18:33 +0200)
I'm very surprised the compiler didn't warn about it. But Coverity and
Valgrind did.
src/backend/access/transam/xlog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index ce78ac413ef2bab05727fd5b257f1ecb79cb2410..0d2bd7a35762e067d8bbf95cb0f5cf34a1373f0b 100644
(file)
--- a/
src/backend/access/transam/xlog.c
+++ b/
src/backend/access/transam/xlog.c
@@
-5286,6
+5286,8
@@
StartupXLOG(void)
PerformWalRecovery();
performedWalRecovery = true;
}
+ else
+ performedWalRecovery = false;
/*
* Finish WAL recovery.