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

Commit035f868

Browse files
committed
User 2PC and strict isolation level handling in test mode
1 parentb23f59e commit035f868

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎contrib/mmts/multimaster.c‎

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp