• istruewing@chilla.local's avatar
    Bug#22119 - Changing MI_KEY_BLOCK_LENGTH makes a wrong myisamchk · 7dc7af51
    istruewing@chilla.local authored
    When compiling with a default key block size greater than the
    smallest key block size used in a table, checking that table
    failed with bogus errors. The table was marked corrupt. This
    affected myisamchk and the server.
    
    The problem was that the default key block size was used at
    some places where sizes less or equal to the block size of the
    index in check was required.
    
    We do now use the key block size of the particular index
    when checking.
    
    A test case is available for later versions only.
    7dc7af51
mi_check.c 145 KB