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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • WT2.7.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: