Changeset: 227cef3280e0 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=227cef3280e0 Modified Files: sql/backends/monet5/sql.c Branch: mosaic Log Message:
Avoid access to compressed string heap. diffs (12 lines): diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c --- a/sql/backends/monet5/sql.c +++ b/sql/backends/monet5/sql.c @@ -4558,7 +4558,7 @@ sql_storage(Client cntxt, MalBlkPtr mb, loc = BUNappend(loc, BBP_physical(bn->batCacheid), FALSE); /*printf(" width %d", bn->T->width); */ w = bn->T->width; - if (bn->ttype == TYPE_str) { + if (bn->ttype == TYPE_str && !bn->T->heap.compressed) { BUN p, q; double sum = 0; BATiter bi = bat_iterator(bn); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list