Changeset: 7c393f4974a3 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7c393f4974a3
Modified Files:
monetdb5/extras/crackers/crackers_selectholpl_ops.mx
Branch: holindex
Log Message:
Initialize holistic struct in CRKLeftNilTree and CRKRightNilTree.
diffs (25 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
@@ -1410,9 +1410,9 @@ CRKRangeLeftNilTree_@1(int *vid, int *bi
if (gapH>0) addCrackerIndex_@1(m,hgh,HBound,vh,c);
vl = BUNfirst(b);
- createIndex=1;
-
+ createIndex=1;
countBatElements=BATcount(b);
+ CRKinitFrequencyStruct(0,*bid);
FN=searchBAT(FrequencyStructA,*bid);
FN->f1 = FN->f1 + 1;
FN->c = FN->c + 1;
@@ -1588,7 +1588,8 @@ CRKRangeRightNilTree_@1(int *vid, int *b
vh = BUNlast(b)-(oid)1;
createIndex=1;
- countBatElements=BATcount(b);
+ countBatElements=BATcount(b);
+ CRKinitFrequencyStruct(0,*bid);
FN=searchBAT(FrequencyStructA,*bid);
FN->f1 = FN->f1 + 1;
FN->c = FN->c + 1;
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list