Changeset: 99484b424c48 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=99484b424c48 Modified Files: monetdb5/extras/crackers/crackers_selectst_ops.mx Branch: holindex Log Message:
Check if Hgh exists after random crack in stochastic cracking. diffs (32 lines): diff --git a/monetdb5/extras/crackers/crackers_selectst_ops.mx b/monetdb5/extras/crackers/crackers_selectst_ops.mx --- a/monetdb5/extras/crackers/crackers_selectst_ops.mx +++ b/monetdb5/extras/crackers/crackers_selectst_ops.mx @@ -1093,7 +1093,7 @@ CRKRangeLeftNilTree_@1(int *vid, int *bi foundHgh = GetHgh_@1(*hgh, *inclusiveHgh, CrackerIndex[m].Tree, c, BUNfirst(c), &cl2, &ch2, 0, BUNlast(b)-(oid)1); if (foundHgh == 0){ if (cl2 != 0) cl2++; - @:crkTwoRTree@5(@1)@ + @:crkTwoRTree(@1)@ if (IndexSize <IndexStop) { if (gapH>0) @@ -1102,10 +1102,15 @@ CRKRangeLeftNilTree_@1(int *vid, int *bi } *hgh=temp_h; foundHgh = GetHgh_@1(*hgh, *inclusiveHgh, CrackerIndex[m].Tree, c, BUNfirst(c), &cl2, &ch2, 0, BUNlast(b)-(oid)1); - if (cl2 != 0) cl2++; - @:crkTwoRTree(@1)@ - if (IndexSize <IndexStop) - if (gapH>0) addCrackerIndex_@1(m,hgh,HBound,vh,c); + if (foundHgh == 0){ + if (cl2 != 0) cl2++; + @:crkTwoRTree(@1)@ + if (IndexSize <IndexStop) + { + if (gapH>0) + addCrackerIndex_@1(m,hgh,HBound,vh,c); + } + } } else vh = ch2; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list