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

Perform analyse without changing the persistent db


diffs (26 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
@@ -1344,16 +1344,16 @@ MOSanalyseInternal(Client cntxt, int thr
        case TYPE_hge:
 #endif
                mnstr_printf(cntxt->fdout,"#%d\t%-8s\t%s\t"BUNFMT"\t", bid, 
BBP_physical(bid), type, BATcount(b));
-               MOScompressInternal(cntxt, &ret, &bid2, properties,1,1);
-               //br = BATdescriptor(ret);
-               //if(br) BBPreclaim(br);
+               MOScompressInternal(cntxt, &ret, &bid2, properties,0,1);
+               br = BATdescriptor(ret);
+               if(br) BBPreclaim(br);
                break;
        default:
                if( b->ttype == TYPE_timestamp || b->ttype == TYPE_date || 
b->ttype == TYPE_daytime){
                        mnstr_printf(cntxt->fdout,"#%d\t%-8s\t%s\t"BUNFMT"\t", 
bid, BBP_physical(bid), type, BATcount(b));
-                       MOScompressInternal(cntxt, &ret, &bid2, properties,1,1);
-                       //br = BATdescriptor(ret);
-                       //if(br) BBPreclaim(br);
+                       MOScompressInternal(cntxt, &ret, &bid2, properties,0,1);
+                       br = BATdescriptor(ret);
+                       if(br) BBPreclaim(br);
                } 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));
        }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to