Changeset: 51776d64a856 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=51776d64a856
Modified Files:
        monetdb5/modules/mal/mosaic.c
Branch: mosaic
Log Message:

Turn off the string heap compression
The compression is small compared to the string space itself
and we already have dictionary compression.


diffs (30 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
@@ -210,8 +210,8 @@ MOScompressInternal(Client cntxt, int *r
        case TYPE_wrd:
        case TYPE_flt:
        case TYPE_dbl:
+               break;
        case TYPE_str:
-               break;
        default:
                // don't compress them
                BBPkeepref(*ret = bcompress->batCacheid);
@@ -1296,7 +1296,6 @@ MOSanalyseInternal(Client cntxt, int thr
        case TYPE_oid:
        case TYPE_flt:
        case TYPE_dbl:
-       case TYPE_str:
 #ifdef HAVE_HGE
        case TYPE_hge:
 #endif
@@ -1313,6 +1312,8 @@ MOSanalyseInternal(Client cntxt, int thr
                                BBPdecref(ret, TRUE);
                } else
                        mnstr_printf(cntxt->fdout,"#%d\t%-8s\t%s\t"BUNFMT"\t 
illegal compression type %s\n", bid, BBP_logical(bid), type, BATcount(b), 
getTypeName(b->ttype));
+       case TYPE_str:
+               ;
        }
        GDKfree(type);
        BBPreleaseref(bid);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to