• Mattias Jonsson's avatar
    Bug#51851: Server with SBR locks mutex twice on · a01773db
    Mattias Jonsson authored
    LOAD DATA into partitioned MyISAM table
    
    Problem was that both partitioning and myisam
    used the same table_share->mutex for different protections
    (auto inc and repair).
    
    Solved by adding a specific mutex for the partitioning
    auto_increment.
    
    Also adding destroying the ha_data structure in
    free_table_share (which is to be propagated
    into 5.5).
    
    This is a 5.1 ONLY patch, already fixed in 5.5+.
    a01773db
partition_binlog_stmt.result 421 Bytes