• Ramil Kalimullin's avatar
    Fix for bug #46456 [Ver->Prg]: HANDLER OPEN + TRUNCATE + DROP · f59400f4
    Ramil Kalimullin authored
    (temporary) TABLE, crash
    
    Problem: if one has an open "HANDLER t1", further "TRUNCATE t1" 
    doesn't close the handler and leaves handler table hash in an 
    inconsistent state, that may lead to a server crash.
    
    Fix: TRUNCATE should implicitly close all open handlers.
    
    Doc. request: the fact should be described in the manual accordingly.
    f59400f4
sql_delete.cc 34.3 KB