Skip to content

Commit e1aacad

Browse files
committed
Yet another hack for dtmd
1 parent 238617f commit e1aacad

File tree

1 file changed

+2
-3
lines changed
  • contrib/multimaster/dtmd/src

1 file changed

+2
-3
lines changed

contrib/multimaster/dtmd/src/main.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,8 @@ static void gen_snapshot(Snapshot *s) {
209209
}
210210
#else
211211
if (!l2_list_is_empty(&active_transactions)) {
212-
s->active[0] = ((Transaction*)active_transactions.prev)->xid;
213-
s->active[1] = ((Transaction*)active_transactions.next)->xid;
214-
n = 2;
212+
s->active[0] = ((Transaction*)active_transactions.next)->xid;
213+
n = 1;
215214
}
216215
#endif
217216
s->nactive = n;

0 commit comments

Comments
 (0)