Panic was being called twice!
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)
Showing
Please register or sign in to comment