1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Fix uninitialized variable.

I'm very surprised the compiler didn't warn about it. But Coverity and
Valgrind did.
This commit is contained in:
Heikki Linnakangas
2022-02-20 18:33:09 +02:00
parent 4b35408f1e
commit 69639e2b5c

View File

@ -5286,6 +5286,8 @@ StartupXLOG(void)
PerformWalRecovery(); PerformWalRecovery();
performedWalRecovery = true; performedWalRecovery = true;
} }
else
performedWalRecovery = false;
/* /*
* Finish WAL recovery. * Finish WAL recovery.