• Jon Olav Hauglid's avatar
    Backport of revno: 2617.65.1 · 5ce2421b
    Jon Olav Hauglid authored
    Bug #22876 Four-way deadlock
    
    This bug was fixed as a part of Bug#989 
    "If DROP TABLE while there's an active transaction, wrong binlog order"
    A statement which would have caused circular wait will now 
    be aborted with ER_LOCK_DEADLOCK.
    
    Test case based on bug description added to innodb_mysql_lock.test.
    Note that innodb_lock_wait_timeout is set to 5 mins to 
    prevent race conditions in the test.
    5ce2421b
innodb_mysql_lock.test 1.31 KB