Create a macro to detect check whether a session is default or not

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: Not Applicable
    • None
    • Storage Engines, Storage Engines - Foundations
    • SE Foundations - 2025-08-01, SE Foundations - 2025-08-15
    • 1

      While working on WT-14648, there is an implicit knowledge noting that session->id == 0 is always the default session. This is not easy knowledge and requires context to understand. We should create a macro that does this check. 

              Assignee:
              Luke Chen
              Reporter:
              Jie Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: