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

Commitdc55677

Browse files
committed
Fix buf in calculating snapshot xmax in dtmd
1 parent61ace5e commitdc55677

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎contrib/pg_xtm/dtmd/src/main.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,9 @@ static void gen_snapshot(Snapshot *s, int node) {
364364
s->active[s->nactive++]=t->xid;
365365
}
366366
}
367+
if (s->xmax==0) {
368+
s->xmin=s->xmax+1;
369+
}
367370
snapshot_sort(s);
368371
}
369372

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp