• unknown's avatar
    Panic was being called twice! · deb36ce1
    unknown authored
    Both on its own and in the plugin shutdown.... not so good. The code is a bit simpler, and we could now technically remove the panic all entirely if we wanted to. 
    
    
    sql/handler.cc:
      Handler was returning from a panic failure. Bad idea! This means that the rest of the shutdown is not carried outin the engine.
      Removed panic specific calls. 
      
      Panic should also be called regardless of "startup".
    sql/mysqld.cc:
      Removed ha_panic call (since its called in plugin shutdown)
    deb36ce1
handler.cc 110 KB