Skip to content
  • Ingo Struewing's avatar
    7fa72827
    Bug#32384785 - RE-ENABLE ASSERTS · 7fa72827
    Ingo Struewing authored
    Remove the definition of NDEBUG from CMakeLists.txt.
    
    Define MEB_DEBUG_ASSERT() and MEB_ASSERT_ABORT().
    
    Change assert() to MEB_ASSERT() or MEB_DEBUG_ASSERT().
    Change ut_ad() to MEB_ASSERT() or MEB_DEBUG_ASSERT().
    Change ut_a() to MEB_ASSERT().
    Change ut_error() to abort().
    
    Optimize image post file header generation.
    
    Avoid a debug assert in read_tablespace_header().
    
    Rename lock_tables() to flush_tables_for_export().
    
    Avoid global class object 'free_pages_bitmap_container'.
    
    Remove unused code around PERF_TEST.
    
    Avoid a debug assert in the redo log parsing.
    
    Avoid exceptions when destructing free_pages_bitmap_container.
    
    Disable InnoDB code via UNIV_HOTBACKUP, that has irrelevant asserts
    for mysqlbackup.
    
    To track down a failure in InnoDB code shorten some trace logs.
    
    Extend MEB version string with details about the debug configuration.
    Add a test, that show the version of mysqlbackup.
    
    RB#25816
    7fa72827
    Bug#32384785 - RE-ENABLE ASSERTS
    Ingo Struewing authored
    Remove the definition of NDEBUG from CMakeLists.txt.
    
    Define MEB_DEBUG_ASSERT() and MEB_ASSERT_ABORT().
    
    Change assert() to MEB_ASSERT() or MEB_DEBUG_ASSERT().
    Change ut_ad() to MEB_ASSERT() or MEB_DEBUG_ASSERT().
    Change ut_a() to MEB_ASSERT().
    Change ut_error() to abort().
    
    Optimize image post file header generation.
    
    Avoid a debug assert in read_tablespace_header().
    
    Rename lock_tables() to flush_tables_for_export().
    
    Avoid global class object 'free_pages_bitmap_container'.
    
    Remove unused code around PERF_TEST.
    
    Avoid a debug assert in the redo log parsing.
    
    Avoid exceptions when destructing free_pages_bitmap_container.
    
    Disable InnoDB code via UNIV_HOTBACKUP, that has irrelevant asserts
    for mysqlbackup.
    
    To track down a failure in InnoDB code shorten some trace logs.
    
    Extend MEB version string with details about the debug configuration.
    Add a test, that show the version of mysqlbackup.
    
    RB#25816
Loading