File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ static void DtmMergeWithGlobalSnapshot(Snapshot dst)
270
270
memcpy (dst -> xip + dst -> xcnt , src -> xip , src -> xcnt * sizeof (TransactionId ));
271
271
n = dst -> xcnt + src -> xcnt ;
272
272
273
- // qsort(dst->xip, n, sizeof(TransactionId), xidComparator);
273
+ qsort (dst -> xip , n , sizeof (TransactionId ), xidComparator );
274
274
xid = InvalidTransactionId ;
275
275
276
276
for (i = 0 , j = 0 ; i < n && dst -> xip [i ] < dst -> xmax ; i ++ )
@@ -285,7 +285,7 @@ static void DtmMergeWithGlobalSnapshot(Snapshot dst)
285
285
memcpy (dst -> subxip + dst -> subxcnt + dst -> xcnt , src -> xip , src -> xcnt * sizeof (TransactionId ));
286
286
n = dst -> xcnt + dst -> subxcnt + src -> xcnt ;
287
287
288
- // qsort(dst->subxip, n, sizeof(TransactionId), xidComparator);
288
+ qsort (dst -> subxip , n , sizeof (TransactionId ), xidComparator );
289
289
xid = InvalidTransactionId ;
290
290
291
291
for (i = 0 , j = 0 ; i < n && dst -> subxip [i ] < dst -> xmax ; i ++ )
You can’t perform that action at this time.
0 commit comments