Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ac1796d

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

File tree

1 file changed

+1
-1
lines changed
  • contrib/multimaster/dtmd/src

1 file changed

+1
-1
lines changed

contrib/multimaster/dtmd/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ static void gen_snapshot(Snapshot *s) {
209209
}
210210
#else
211211
if (!l2_list_is_empty(&active_transactions)) {
212-
s->active[0] = ((Transaction*)active_transactions.next)->xid;
212+
s->active[0] = ((Transaction*)active_transactions.prev)->xid;
213213
n = 1;
214214
}
215215
#endif

0 commit comments

Comments
 (0)