Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2202

In row-search, release the held page if a leaf-only was not specified.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • WT2.7.0
    • Affects Version/s: None
    • Component/s: None
    • None

      I think the test at the end of __wt_row_search is wrong, we're releasing the "current" page if leaf != NULL, and that's wrong, we should only release the current page if no leaf-page WT_REF was specified.

      I think the safest test is to compare current against leaf, which is basically the same as leaf == NULL, in the current code.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: