Skip to content

Commit 2d84516

Browse files
knizhnikkelvich
authored andcommitted
Restore accsionally deleted lines in multimaster
1 parent 9b94f6c commit 2d84516

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

multimaster.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,8 @@ void MtmPrecommitTransaction(char const* gid)
10451045
MtmUnlock();
10461046
Assert(replorigin_session_origin != InvalidRepOriginId);
10471047
if (!IsTransactionState()) {
1048+
MtmResetTransaction();
1049+
StartTransactionCommand();
10481050
SetPreparedTransactionState(ts->gid, MULTIMASTER_PRECOMMITTED);
10491051
CommitTransactionCommand();
10501052
} else {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy