• Timothy Smith's avatar
    Apply InnoDB snapshot innodb-5.1-ss2637, part 3. Fixes · bb9ee6b6
    Timothy Smith authored
    Bug #39483: InnoDB hang on adaptive hash because of out of order ::open() call by MySQL
    
    
    Detailed revision comments:
    
    r2630 | inaam | 2008-09-16 19:11:26 +0300 (Tue, 16 Sep 2008) | 11 lines
    branches/5.1   bug#39483 InnoDB hang on adaptive hash because of out
    of order ::open() call by MySQL
    
    Forward port of r2629
    
    Under some conditions MySQL calls ::open with search_latch leading
    to a deadlock as we try to acquire dict_sys->mutex inside ::open
    breaking the latching order. The fix is to release search_latch.
    
    Reviewed by: Heikki
    bb9ee6b6
ha_innodb.cc 237 KB