• Michael Widenius's avatar
    Fixes for bugs found by running test case for LP#608369 "Page: 1 Found wrong... · 01672cc0
    Michael Widenius authored
    Fixes for bugs found by running test case for LP#608369 "Page: 1 Found wrong page type 0' on CHECK TABLE EXTENDED"
    Fixed overflow when using long --debug=xxxxxx line.
    Fixed that "mysqld --disable-debug --debug" works.
    Ensure that MariaDB doesn't start if the Aria engine didn't start and we are using Aria for temporary tables.
    More DBUG_ASSERT() and more info in debug log.
    
    
    dbug/dbug.c:
      Fixed crash in mysqld caused by an overflow when using long --debug=xxxxxx line
    sql/mysqld.cc:
      Fixed that "mysqld --disable-debug --debug" works.
      Documented myisam-recover=OFF option
    storage/maria/ha_maria.cc:
      Ensure that MariaDB doesn't start if the Aria engine didn't start and we are using Aria for temporary tables.
    storage/maria/ma_delete.c:
      Added missing write of changed key on node page.
      This could fix LP#608369 "Page: 1 Found wrong page type 0' on CHECK TABLE EXTENDED"
      Changed so that we log page numbers (not positions)
      Added KEY_OP_DEBUG_2 log entry to get more debug information into the log
    storage/maria/ma_key_recover.c:
      Changed so that we log page numbers (not positions)
      In case of wrong page information after index_redo, dump pages to debug log
    storage/maria/ma_loghandler.h:
      Added KEY_OP_DEBUG_2
    storage/maria/ma_search.c:
      Changed so that we log page numbers (not positions)
    storage/maria/ma_write.c:
      Changed so that we log page numbers (not positions)
    01672cc0
ma_key_recover.c 48.2 KB