• Guilhem Bichot's avatar
    Making maria-recover.test work the same with debug and non-debug builds: one... · 11ea5a1b
    Guilhem Bichot authored
    Making maria-recover.test work the same with debug and non-debug builds: one error message was specific of
    debug builds and is now removed, left only in non-ha-maria programs.
    
    mysql-test/r/maria-recover.result:
      This warning is not thrown anymore when used in ha_maria
    mysql-test/t/maria-recover.test:
      In this patch, corruption warnings are unified between debug and non-debug builds, so test can run on both
    storage/maria/ha_maria.cc:
      declare that Maria is used from ha_maria
    storage/maria/ma_static.c:
      new variable to tell if Maria is used from ha_maria
    storage/maria/maria_def.h:
      Comment describing what maria_print_error() does. And change of this macro: it now does nothing when Maria
      is used from ha_maria.
    11ea5a1b
ha_maria.cc 99 KB