Add missing brackets around parameter in macro definition

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • WT10.0.1, 4.4.8, 5.0.2, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      All
    • Storage - Ra 2021-06-28
    • 2

      In the definition of macro WT_CHECK_RECOVERY_FLAG_TS_TXNID, the durablets parameter is not surrounded by parentheses in the implementation. This could cause unexpected behaviour should an expression be passed in as a parameter. 

      Macro parameters should always be surrounded by parentheses in the implementation. See here, for example. 

              Assignee:
              Jeremy Thorp (Inactive)
              Reporter:
              Jeremy Thorp (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: