We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent3dfd14d commit05ae2fbCopy full SHA for 05ae2fb
contrib/pg_dtm/dtmd/src/main.c
@@ -278,7 +278,7 @@ static void onbegin(client_t client, int argc, xid_t *argv) {
278
}
279
transaction_clear(t);
280
281
-prev_gxid=t->xid=next_gxid++;
+prev_gxid=t->xid=t->xmin=next_gxid++;
282
t->snapshots_count=0;
283
t->size=1;
284
@@ -295,12 +295,12 @@ static void onbegin(client_t client, int argc, xid_t *argv) {
295
free_transaction(t);
296
return;
297
298
+l2_list_link(&active_transactions,&t->elem);
299
+
300
xid_tgxmin=get_global_xmin();
301
Snapshot*snap=transaction_next_snapshot(t);
302
gen_snapshot(snap);// FIXME: increase 'times_sent' here? see also 4765234987
-
303
t->xmin=snap->xmin;
-l2_list_link(&active_transactions,&t->elem);
304
305
xid_tok=RES_OK;
306
client_message_start(client); {