Changeset: 462e08f30813 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=462e08f30813
Modified Files:
        gdk/gdk.h
Branch: default
Log Message:

Increase heap filename size on 64 bit architectures.
There might be a problem with very large BAT ids otherwise.


diffs (15 lines):

diff --git a/gdk/gdk.h b/gdk/gdk.h
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -520,7 +520,11 @@ typedef struct {
        size_t free;            /* index where free area starts. */
        size_t size;            /* size of the heap (bytes) */
        char *base;             /* base pointer in memory. */
+#if SIZEOF_VOID_P == 4
        char filename[32];      /* file containing image of the heap */
+#else
+       char filename[40];      /* file containing image of the heap */
+#endif
 
        bte farmid;             /* id of farm where heap is located */
        bool copied:1,          /* a copy of an existing map. */
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to