Changeset: a5f68c9f13a6 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/a5f68c9f13a6
Modified Files:
gdk/gdk_bbp.c
Branch: default
Log Message:
Stop storing tdense property in BBP.dir.
diffs (21 lines):
diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -561,8 +561,7 @@ heapinit(BAT *b, const char *buf,
b->tnosorted = (BUN) nosorted;
b->tnorevsorted = (BUN) norevsorted;
b->tunique_est = 0.0;
- /* (properties & 0x0200) is the old tdense flag */
- b->tseqbase = (properties & 0x0200) == 0 || base >= (uint64_t) oid_nil
? oid_nil : (oid) base;
+ b->tseqbase = base >= (uint64_t) oid_nil ? oid_nil : (oid) base;
b->theap->free = (size_t) free;
b->theap->hasfile = free > 0;
/* set heap size to match capacity */
@@ -2087,7 +2086,6 @@ heap_entry(FILE *fp, BATiter *bi, BUN si
(unsigned short) bi->sorted |
((unsigned short) bi->revsorted << 7) |
((unsigned short) bi->key << 8) |
- ((unsigned short) BATtdensebi(bi) << 9) |
((unsigned short) bi->nonil << 10) |
((unsigned short) bi->nil << 11) |
((unsigned short) bi->ascii << 12),
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]