• Dmitry Lenev's avatar
    A follow-up for 5.5 version of fix for bug#54360 "Deadlock · 10582e2a
    Dmitry Lenev authored
    DROP/ALTER/CREATE DATABASE with open HANDLER".
    
    Remove wait_for_condition() which became unused after 
    database locks were replaced with MDL scoped locks.
    If one needs functionality provided by this call one can 
    always use THD::enter_cond()/exit_cond() methods.
    
    Also removed an unused include from sql_db.cc and updated 
    comment describing one of used includes to reflect current
    situation.
    10582e2a
sql_base.cc 303 KB