• Kristofer.Pettersson@naruto.'s avatar
    Bug#20789 Merge Subtable Rename Causes Crash · 323efcc0
    Kristofer.Pettersson@naruto. authored
     - When an ALTER TABLE RENAME is performed on windows, the files are closed and their cached file 
       descriptors are marked invalid. Performing INSERT, UPDATE or SELECT on the associated merge
       table causes a server crash on windows. This patch adds a test for bad file descriptors when a 
       table attempts a lock. If a bad descriptor is found an error is thrown. An additional FLUSH TABLES
       will be necessary to further operate on the associated merge table.
    323efcc0
mi_locking.c 15.8 KB