Content-Length: 261258 | pFad | http://github.com/postgrespro/postgres_cluster/commit/cd740c0dbfb3038eea2e921e82e2f5345d0718c5

89 Fix uninitialized variables in twophase.c · postgrespro/postgres_cluster@cd740c0 · GitHub
Skip to content

Commit cd740c0

Browse files
Fix uninitialized variables in twophase.c
1 parent bae9b80 commit cd740c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/access/transam/twophase.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2024,8 +2024,8 @@ ProcessTwoPhaseBuffer(TransactionId xid,
20242024
TransactionId *maxsubxid)
20252025
{
20262026
TransactionId origNextXid = ShmemVariableCache->nextXid;
2027-
TransactionId res;
2028-
TransactionId maxsub;
2027+
TransactionId res = InvalidTransactionId;
2028+
TransactionId maxsub = InvalidTransactionId;
20292029
TransactionId *subxids;
20302030
char *buf;
20312031
TwoPhaseFileHeader *hdr;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/cd740c0dbfb3038eea2e921e82e2f5345d0718c5

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy