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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • WT2.7.0
    • None
    • 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

        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: