Commit cd740c0d authored by Simon Riggs's avatar Simon Riggs

Fix uninitialized variables in twophase.c

parent bae9b801
...@@ -2024,8 +2024,8 @@ ProcessTwoPhaseBuffer(TransactionId xid, ...@@ -2024,8 +2024,8 @@ ProcessTwoPhaseBuffer(TransactionId xid,
TransactionId *maxsubxid) TransactionId *maxsubxid)
{ {
TransactionId origNextXid = ShmemVariableCache->nextXid; TransactionId origNextXid = ShmemVariableCache->nextXid;
TransactionId res; TransactionId res = InvalidTransactionId;
TransactionId maxsub; TransactionId maxsub = InvalidTransactionId;
TransactionId *subxids; TransactionId *subxids;
char *buf; char *buf;
TwoPhaseFileHeader *hdr; TwoPhaseFileHeader *hdr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment