Changeset: 079ab34447b0 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=079ab34447b0
Modified Files:
        monetdb5/modules/mal/xid.c
Branch: xid
Log Message:

exploit full xid range for OIDs & counts


diffs (12 lines):

diff --git a/monetdb5/modules/mal/xid.c b/monetdb5/modules/mal/xid.c
--- a/monetdb5/modules/mal/xid.c
+++ b/monetdb5/modules/mal/xid.c
@@ -50,7 +50,7 @@ typedef oid xid;
 #define XID_TAG_MAX  ((((xid)1) << XID_TAG_BITS) - 1)
 #define XID_VAL_BITS ((8 * SIZEOF_XID) - XID_TAG_BITS)
 #define XID_VAL_MAX  ((((xid)1) << XID_VAL_BITS) - 1)
-#define XID_CNT_MAX  GDK_oid_max
+#define XID_CNT_MAX  (~((xid)0))
 
 typedef union XIDCOLUMN{
        struct {
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to