• unknown's avatar
    Manually importing Ingo's fix for BUG#22119 · 887383d4
    unknown authored
    "Changing MI_KEY_BLOCK_LENGTH makes a wrong myisamchk"
    in the Maria tree as it is really needed to get "ma_test_all" to pass
    (this bug showed up in Maria first, not in MyISAM).
    Now ma_test_all does not have corruption messages about test2 anymore,
    and shows the same output as mi_test_all except that
    ma_test_all has this at the start:
    lt-maria_chk: MARIA file test1
    lt-maria_chk: warning: Size of indexfile is: 8192          Should be: 16384
    MARIA-table 'test1' is usable but should be fixed
    This was already true before importing the bugfix.
    Wonder if normal.
    NOTE: this bugfix is currently in 5.1-engines, in a few days
    will be in the main 5.1, then we'll merge 5.1
    into Maria: this will merge the bugfix into storage/myisam, but there
    will be no need to apply it to storage/maria again. I just couldn't
    wait a few days for the 5.1-engines->5.1 merge to be allowed.
    
    
    mysql-test/r/maria.result:
      result update
    mysql-test/t/maria.test:
      test for BUG#22119
    storage/maria/ma_check.c:
      fix for BUG#22119
    887383d4
maria.result 58.2 KB