]> pd.if.org Git - btree/blobdiff - threadskv10b.c
Merge branch 'master' of https://github.com/malbrain/Btree-source-code
[btree] / threadskv10b.c
index fa68f22afc5ed814f07cf0a3d5bd4d9d6bfa5961..09a657e3de7c1a543a688b61d2e94affea998f46 100644 (file)
@@ -2,7 +2,6 @@
 //     with reworked bt_deletekey code,
 //     phase-fair re-entrant reader writer locks,
 //     librarian page split code,
-//     duplicate key management
 //     bi-directional cursors
 //     traditional buffer pool manager
 //     ACID batched key-value updates
@@ -2566,7 +2565,6 @@ int rate;
 
                if( librarian )
                 if( (idx - slot + 1)/2 <= librarian * rate ) {
-//               if( rate && !(idx % rate) ) {
                        node = slotptr(set->page, idx--);
                        node->off = node[1].off;
                        node->type = Librarian;
@@ -2962,7 +2960,7 @@ BtVal *val;
 
        default:
          bt_atomicpage (mgr, source, locks, idx, set);
-         break;
+         continue;
        }
 
        //      after the same page operations have finished,