• Roshan Khatri's avatar
    Add DEBUG_ASSERTIONS option to custom assert (#12667) · 88e83e51
    Roshan Khatri authored
    This PR introduces a new macro, serverAssertWithInfoDebug, to do complex assertions only for debugging. The main intention is to allow running complex operations during tests without impacting runtime performance. This assertion is enabled when setting DEBUG_ASSERTIONS.
    
    The DEBUG_ASSERTIONS flag is set for the daily and CI variants of `test-sanitizer-address`.
    88e83e51
db.c 110 KB