Changeset: 4753db31d6a0 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4753db31d6a0
Modified Files:
        monetdb5/extras/crackers/crackers_selecthol_ops.mx
Branch: holindex
Log Message:

3 pieces are created during the first (3way) crack.
The number of pieces(c) is already initialized to 1. That is why we add 2.


diffs (27 lines):

diff --git a/monetdb5/extras/crackers/crackers_selecthol_ops.mx 
b/monetdb5/extras/crackers/crackers_selecthol_ops.mx
--- a/monetdb5/extras/crackers/crackers_selecthol_ops.mx
+++ b/monetdb5/extras/crackers/crackers_selecthol_ops.mx
@@ -366,7 +366,7 @@ createView:
                        /*printf(" "LLFMT" \n ",posh-posl);*/
                        @:crkThreeTree@5(@1,posl,posh,@5)@
 
-                       FN->c = FN->c + 3;
+                       FN->c = FN->c + 2;
                        
                        BBPincref(b->batCacheid,TRUE);
                        BBPunfix(bo->batCacheid);
@@ -565,12 +565,12 @@ createView:
        }
        countBatElements=BATcount(b);
        /*fprintf(stderr,"BATcount(b)=%d\n",countBatElements);*/
-       if(FN->weight >= 0)
+       if(FN->weight > 0)
                FN->weight = changeWeight_2(FN,countBatElements,L1);
        /*if(FN->weight <0)
                deleteNode(FrequencyStructA,FN->bid);
        */
-       /*printFrequencyStruct(FrequencyStructA);*/
+       printFrequencyStruct(FrequencyStructA);
 
        @:CreateResult()@
        return MAL_SUCCEED;
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to