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

Commit7668c14

Browse files
knizhnikkelvich
authored andcommitted
Remove debug assert
1 parent47f434d commit7668c14

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎multimaster.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -737,8 +737,9 @@ MtmResetTransaction()
737737
x->isPrepared= false;
738738
x->isSuspended= false;
739739
x->isTwoPhase= false;
740-
x->csn=
740+
x->csn=INVALID_CSN;
741741
x->status=TRANSACTION_STATUS_UNKNOWN;
742+
x->gid[0]='\0';
742743
}
743744

744745

@@ -1177,7 +1178,7 @@ MtmEndTransaction(MtmCurrentTrans* x, bool commit)
11771178
:ts->status==TRANSACTION_STATUS_COMMITTED ?"committed" :"not prepared",
11781179
ts->xid,ts->gid);
11791180
}
1180-
Assert(ts->xid!=10000);
1181+
//Assert(ts->xid != 10000);
11811182
if (x->csn>ts->csn||Mtm->status==MTM_RECOVERY) {
11821183
Assert(x->csn!=INVALID_CSN);
11831184
ts->csn=x->csn;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp