Changeset: 3fe3986d1b3a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3fe3986d1b3a
Modified Files:
gdk/gdk_col.c
Branch: headless
Log Message:
Avoid GDKsyserror
The error is turned into an exception at another level.
diffs (21 lines):
diff --git a/gdk/gdk_col.c b/gdk/gdk_col.c
--- a/gdk/gdk_col.c
+++ b/gdk/gdk_col.c
@@ -1695,15 +1695,13 @@
if (hb >= 0 && sz > 0 &&
b->heap.base && b->heap.storage != STORE_MEM &&
MT_madvise(b->heap.base, sz, BUF_TO_MMAP[hb])) {
- GDKsyserror("madvise(%x, " SZFMT ", %d) on b->heap hb failed\n",
- b->heap.base, sz, hb);
+ IODEBUG THRprintf(GDKout, "madvise(%x, " SZFMT ", %d) on
b->heap hb failed\n", b->heap.base, sz, hb);
return -1;
}
if (hhp >= 0 && b->vheap && vsz > 0 &&
b->vheap->base && b->vheap->storage != STORE_MEM &&
MT_madvise(b->vheap->base, vsz, BUF_TO_MMAP[hhp])) {
- GDKsyserror("madvise(%x, " SZFMT ", %d) on b->vheap hhp
failed\n",
- b->vheap->base, vsz, hhp);
+ IODEBUG THRprintf(GDKout, "madvise(%x, " SZFMT ", %d) on
b->vheap hhp failed\n", b->vheap->base, vsz, hhp);
return -1;
}
return 0;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list