Layered cursor: remove need_stable from WT_CLAYERED_OP

XMLWordPrintableJSON

    • Storage Engines - Foundations
    • 1,218.262
    • None
    • None

      WT_CLAYERED_OP.need_stable is redundant. It only ever differs from op->stable being set, and every consumer already gates stable access on op->stable != NULL.

      Decide whether to open the stable cursor in __clayered_enter_flags (CLAYERED_ENTER_SKIP_STABLE) and leave op->stable NULL when the operation skips it, then remove the need_stable field.

            Assignee:
            Ivan Kochin
            Reporter:
            Ivan Kochin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: