Skip to content

Commit 58d36b6

Browse files
author
Andrei Krichinin
committed
Fix for commit ddc54d4
1 parent 1b0c0ec commit 58d36b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/commit.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,11 @@ MtmTwoPhaseCommit(void)
742742
}
743743
PG_CATCH();
744744
{
745+
#ifdef PGPRO_EE
745746
mtm_commit_cleanup(0, Int32GetDatum(atxLevel));
747+
#else
748+
mtm_commit_cleanup(0, Int32GetDatum(0));
749+
#endif
746750

747751
PG_RE_THROW();
748752
}

0 commit comments

Comments
 (0)