Changeset: 8e279ce04320 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8e279ce04320 Modified Files: sql/backends/monet5/sql.c Branch: mosaic Log Message:
Avoid accessing compressed heap
diffs (21 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
@@ -4839,7 +4839,7 @@ sql_storage(Client cntxt, MalBlkPtr mb,
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);
@@ -4925,7 +4925,7 @@ sql_storage(Client cntxt, MalBlkPtr mb,
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
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list
