Update WT_ASSERT macros to check diagnostic_asserts flag

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT11.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines - 2022-11-28
    • 8

      Summary

      Update the existing macros WT_ASSERT, WT_ASSERT_ALWAYS, WT_RET_ASSERT, WT_ERR_ASSERT, WT_RET_PANIC_ASSERT to check the value of the diagnostic_asserts added in WT-10041, and use this to determine if the provided expression should be asserted.

              Assignee:
              Andrew Morton
              Reporter:
              Andrew Morton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: