Changeset: 3daa7e6db323 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3daa7e6db323 Modified Files: gdk/gdk_bat.c Branch: Jan2014 Log Message:
Removed unused macro heap_unshare.
diffs (33 lines):
diff --git a/gdk/gdk_bat.c b/gdk/gdk_bat.c
--- a/gdk/gdk_bat.c
+++ b/gdk/gdk_bat.c
@@ -2576,29 +2576,6 @@ BATcheckmodes(BAT *b, int existing)
return 0;
}
-#define heap_unshare(heap, heapname, id) \
- do { \
- if ((heap)->copied) { \
- Heap hp; \
- \
- memset(&hp, 0, sizeof(Heap)); \
- if (HEAPcopy(&hp, (heap)) < 0) { \
- GDKerror("%s: remapped " #heapname \
- " of %s could not be copied.\n", \
- fcn, BATgetId(b)); \
- return -1; \
- \
- } \
- hp.parentid = (id); \
- if ((heap)->parentid == (id)) \
- HEAPfree(heap); \
- else \
- BBPunshare((heap)->parentid); \
- * (heap) = hp; \
- (heap)->copied = 0; \
- } \
- } while (0)
-
BAT *
BATsetaccess(BAT *b, int newmode)
{
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list
