• Michael Widenius's avatar
    Fixed LP#605798 RQG: Table corruption after Maria engine recovery - "Wrong data in bitmap" · e6cf286b
    Michael Widenius authored
    maria_chk & maria_read_log now reads block size from control file.
    
    
    
    mysql-test/suite/maria/r/maria.result:
      Updated results after trivial change of maria_chk's output
    storage/maria/ma_bitmap.c:
      More DBUG_PRINT
    storage/maria/ma_blockrec.c:
      Fixed bug that we didn't mark page full in bitmap if directory is full
    storage/maria/ma_check.c:
      Write out if directory is full for errors in bitmap
    storage/maria/ma_control_file.c:
      Don't give error for wrong block size if block size is 0
    storage/maria/maria_chk.c:
      Read block size from control file
      In case of -dvv, write also out bitmap information (good for debugging)
    storage/maria/maria_read_log.c:
      Read block size from control file
      Fixed that maria_read_log works with different page size than TRANSLOG_PAGE_SIZE
    e6cf286b
ma_check.c 225 KB