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

XMLWordPrintableJSON

    • Storage Engines, Storage Engines - Foundations
    • 7,408.833
    • 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: