Commit ccfa1a65 authored by Rich Prohaska's avatar Rich Prohaska

remove debug code

git-svn-id: file:///svn/tokudb@1185 c7de825b-a66e-492c-adef-691d508d4ae1
parent 58fd7e37
......@@ -792,14 +792,10 @@ int toku_pma_cursor_set_both(PMA_CURSOR c, DBT *key, DBT *val) {
here = pma_left_search(pma, key, val, 0, pma->N, &found);
assert(here<=toku_pma_index_limit(pma));
int r = DB_NOTFOUND;
#if 1
/* skip any deleted pairs that match */
while (found && !kv_pair_valid(pma->pairs[here]))
here = pma_next_key(pma, key, val, here+1, pma->N, &found);
if (found) {
#else
if (found && kv_pair_valid(pma->pairs[here])) {
#endif
__pma_delete_resume(c->pma, c->position);
c->position = here;
r = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment