Changeset: 99650aeae4b4 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=99650aeae4b4
Modified Files:
        monetdb5/modules/mosaic/mosaic_runlength_templates.h
Branch: mosaic
Log Message:

Revert accidental checkin


diffs (15 lines):

diff --git a/monetdb5/modules/mosaic/mosaic_runlength_templates.h 
b/monetdb5/modules/mosaic/mosaic_runlength_templates.h
--- a/monetdb5/modules/mosaic/mosaic_runlength_templates.h
+++ b/monetdb5/modules/mosaic/mosaic_runlength_templates.h
@@ -19,10 +19,10 @@ MOSestimate_SIGNATURE(METHOD, TPE)
        BUN limit = task->stop - task->start > MOSAICMAXCNT? MOSAICMAXCNT: 
task->stop - task->start;
        for(v++,i = 1; i < limit; i++,v++) if ( !ARE_EQUAL(*v, val, nil, TPE) ) 
break;
        assert(i > 0);/*Should always compress.*/
+       current->is_applicable = true;
        current->uncompressed_size += (BUN) (i * sizeof(TPE));
        current->compressed_size += 2 * sizeof(MOSBlockHeaderTpe(METHOD, TPE));
        current->compression_strategy.cnt = i;
-       current->is_applicable = current->compressed_size < 
current->uncompressed_size;
 
        if (i > *current->max_compression_length ) 
*current->max_compression_length = i;
 
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to