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

Change weight also when the bounds are found in the index.


diffs (13 lines):

diff --git a/monetdb5/extras/crackers/crackers_selectholpl_ops.mx 
b/monetdb5/extras/crackers/crackers_selectholpl_ops.mx
--- a/monetdb5/extras/crackers/crackers_selectholpl_ops.mx
+++ b/monetdb5/extras/crackers/crackers_selectholpl_ops.mx
@@ -655,6 +655,9 @@ createView:
                if ((vl == 0) && (*t < *low) && (*inclusiveLow == TRUE))
                        vl = vl + 1;
                vh = ch2;
+               countBatElements=BATcount(b);
+               if(FN->weight > 0)
+                       FN->weight = changeWeight_1(FN,countBatElements,L1);
        }
 
 
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to