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

Fix the wrong page type returned when checking on-page cell

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.3.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • 1
    • Storage Engines 2020-02-10, Storage Engines 2020-02-24
    • v4.2, v4.0

      While checking whether the page is a leaf page or not based on from an on-page cell addr is wrong as it is comparing to a wrong enum.

              if (is_leafp != NULL)
                  *is_leafp = unpack->type != WT_ADDR_INT;
      

      it should be

              if (is_leafp != NULL)
                  *is_leafp = unpack->type != WT_CELL_ADDR_INT;
      

            Assignee:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Reporter:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: