• Sergey Vojtovich's avatar
    BUG#49628 - corrupt table after legal SQL, LONGTEXT column · 55a3e3a0
    Sergey Vojtovich authored
    Bulk REPLACE or bulk INSERT ... ON DUPLICATE KEY UPDATE may
    break dynamic record MyISAM table.
    
    The problem is limited to bulk REPLACE and INSERT ... ON
    DUPLICATE KEY UPDATE, because only these operations may
    be done via UPDATE internally and may request write cache.
    
    When flushing write cache, MyISAM may write remaining
    cached data at wrong position. Fixed by requesting write
    cache to seek to a correct position.
    55a3e3a0
myisam.result 80.5 KB