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

Choose a random range once (do not retry to change the range if the respective 
pieces are locked).


diffs (23 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
@@ -262,7 +262,7 @@ CRKrandomholpl_@1(int *bid, bit *inclusi
 
        gettimeofday(&tv1,0); ct+=dt(tv0,tv1); tv0=tv1;
        
-       retry:;
+       retryValues:;
 
        t = (int *) Tloc(b, BUNfirst(b));
        p=rand()%countBatElements;
@@ -276,8 +276,9 @@ CRKrandomholpl_@1(int *bid, bit *inclusi
                *low=temp_val;
        }
        else if (*low==*hgh)
-               goto retry;
+               goto retryValues;
 
+       retry:;
 
        pthread_rwlock_rdlock(&CrackerIndex[m].columnRWLock);
 
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to