• dlenev@mysql.com's avatar
    Fix for bug #12739 "Deadlock in multithreaded environment during creating/ · ea0b89ae
    dlenev@mysql.com authored
    droping trigger on InnoDB table".
    
    Deadlock occured in cases when we were trying to create two triggers for
    the same InnoDB table concurrently and both threads were able to reach
    close_cached_table() simultaneously. Bugfix implements new approach to
    table locking and table cache invalidation during creation/dropping
    of trigger.
    
    No testcase is supplied since bug was repeatable only under high concurrency.
    ea0b89ae
sql_base.cc 161 KB