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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.7.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              keith.bostic Keith Bostic
              Reporter:
              keith.bostic Keith Bostic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: