Changeset: cd68d254ebe4 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=cd68d254ebe4
Modified Files:
monetdb5/modules/mal/mosaic.c
Branch: mosaic
Log Message:
Remove compressed colums not retained.
diffs (19 lines):
diff --git a/monetdb5/modules/mal/mosaic.c b/monetdb5/modules/mal/mosaic.c
--- a/monetdb5/modules/mal/mosaic.c
+++ b/monetdb5/modules/mal/mosaic.c
@@ -1102,11 +1102,15 @@ MOSanalyseInternal(Client cntxt, BUN thr
case TYPE_dbl:
mnstr_printf(cntxt->fdout,"#%d\t%-8s\t%s\t"BUNFMT"\t", bid,
BBP_logical(bid), type, BATcount(b));
MOScompressInternal(cntxt, &ret, &bid, 0);
+ if( ret)
+ BBPreleaseref(ret);
break;
default:
if( b->ttype == TYPE_timestamp){
mnstr_printf(cntxt->fdout,"#%d\t%-8s\t%s\t"BUNFMT"\t",
bid, BBP_logical(bid), type, BATcount(b));
MOScompressInternal(cntxt, &ret, &bid, 0);
+ if( ret)
+ BBPreleaseref(ret);
}
}
GDKfree(type);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list