X-Git-Url: https://pd.if.org/git/?p=btree;a=blobdiff_plain;f=threadskv10b.c;fp=threadskv10b.c;h=09a657e3de7c1a543a688b61d2e94affea998f46;hp=fa68f22afc5ed814f07cf0a3d5bd4d9d6bfa5961;hb=392e5f08cc164c87e56153aa78a740f93325750e;hpb=59f43322ba2038355ca686fa6db91c19c63ead69 diff --git a/threadskv10b.c b/threadskv10b.c index fa68f22..09a657e 100644 --- a/threadskv10b.c +++ b/threadskv10b.c @@ -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,