Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-10043

Update WT_ASSERT macros to check diagnostic_asserts flag

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

      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@mongodb.com Andrew Morton
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: