s_all check for WT_DHANDLE_CLEAR macro

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Lint
    • None
    • Storage Engines, Storage Engines - Foundations
    • None
    • None

      WT-15846 introduced the WT_DHANDLE_CLEAR macro to aid in debugging. There's a risk that someone introduces new code that manually sets session->dhandle to NULL without using the macro. Introduce a new s_all check to detect/prevent this.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Will Korteland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: