Changeset: ec937fa409b7 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ec937fa409b7
Modified Files:
monetdb5/modules/mal/remote.mx
Branch: default
Log Message:
remote.get: only tamper with capacity if we changed it"
diffs (13 lines):
diff --git a/monetdb5/modules/mal/remote.mx b/monetdb5/modules/mal/remote.mx
--- a/monetdb5/modules/mal/remote.mx
+++ b/monetdb5/modules/mal/remote.mx
@@ -1422,7 +1422,8 @@
if (bb.Htype == TYPE_void)
b->hdense = TRUE;
b->tdense = bb.Tdense;
- BATsetcapacity(b, b->T->heap.size >> b->T->shift);
+ if (bb.Ttype == TYPE_str && bb.size)
+ BATsetcapacity(b, b->T->heap.size >> b->T->shift);
BATsetcount(b, (oid)bb.size);
b->batDirty = TRUE;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list