Skip to content

Commit c03d1e5

Browse files
committed
nosort test
1 parent 3067e72 commit c03d1e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

contrib/multimaster/multimaster.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ static void DtmMergeWithGlobalSnapshot(Snapshot dst)
270270
memcpy(dst->xip + dst->xcnt, src->xip, src->xcnt*sizeof(TransactionId));
271271
n = dst->xcnt + src->xcnt;
272272

273-
qsort(dst->xip, n, sizeof(TransactionId), xidComparator);
273+
// qsort(dst->xip, n, sizeof(TransactionId), xidComparator);
274274
xid = InvalidTransactionId;
275275

276276
for (i = 0, j = 0; i < n && dst->xip[i] < dst->xmax; i++)
@@ -285,7 +285,7 @@ static void DtmMergeWithGlobalSnapshot(Snapshot dst)
285285
memcpy(dst->subxip + dst->subxcnt + dst->xcnt, src->xip, src->xcnt*sizeof(TransactionId));
286286
n = dst->xcnt + dst->subxcnt + src->xcnt;
287287

288-
qsort(dst->subxip, n, sizeof(TransactionId), xidComparator);
288+
// qsort(dst->subxip, n, sizeof(TransactionId), xidComparator);
289289
xid = InvalidTransactionId;
290290

291291
for (i = 0, j = 0; i < n && dst->subxip[i] < dst->xmax; i++)

contrib/multimaster/tests/deploy_layouts/roles/postgres/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@
6060
when: (pg_copydist is undefined) and pg_sources.changed
6161

6262
- name: build and install
63-
shell: ./configure --prefix={{pg_dst}} --without-zlib && make clean && make -j {{makejobs}} && make install
63+
shell: ./configure --prefix={{pg_dst}} --enable-debug --without-zlib && make clean && make -j {{makejobs}} && make install
6464
args:
6565
chdir: "{{pg_src}}"
6666
creates: "{{pg_dst}}/bin/postgres"
67-
when: pg_copydist is undefined
67+
# when: pg_copydist is undefined
6868

6969
#############################################################################
7070

0 commit comments

Comments
 (0)