Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf03d14f

Browse files
committed
User 2PC and strict isolation level handling in test mode
1 parent4542483 commitf03d14f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎multimaster.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3797,7 +3797,7 @@ static void MtmProcessUtility(Node *parsetree, const char *queryString,
37973797
}
37983798
break;
37993799
caseTRANS_STMT_PREPARE:
3800-
//elog(ERROR, "Two phase commit is not supported by multimaster");
3800+
elog(ERROR,"Two phase commit is not supported by multimaster");
38013801
break;
38023802
caseTRANS_STMT_COMMIT_PREPARED:
38033803
caseTRANS_STMT_ROLLBACK_PREPARED:
@@ -3957,11 +3957,11 @@ static void MtmProcessUtility(Node *parsetree, const char *queryString,
39573957
standard_ProcessUtility(parsetree,queryString,context,
39583958
params,dest,completionTag);
39593959
}
3960-
3961-
if (MtmTx.isDistributed&&XactIsoLevel!=XACT_REPEATABLE_READ) {
3960+
3961+
if (MtmTx.isDistributed&&XactIsoLevel!=XACT_REPEATABLE_READ&& !MtmVolksWagenMode) {
39623962
elog(ERROR,"Isolation level %s is not supported by multimaster",isoLevelStr[XactIsoLevel]);
39633963
}
3964-
3964+
39653965
if (MyXactAccessedTempRel)
39663966
{
39673967
MTM_LOG1("Xact accessed temp table, stopping replication");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp