Commit 434bbc34 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-5913 Windows: 10.0 crashes on shutdown

add pthread_mutex_destroy(&THR_LOCK_dbug); that was apparently
forgotten since the very first MySQL version
parent bd4e7dac
...@@ -1642,6 +1642,7 @@ void _db_end_() ...@@ -1642,6 +1642,7 @@ void _db_end_()
cs->stack= &init_settings; cs->stack= &init_settings;
FreeState(cs, 0); FreeState(cs, 0);
pthread_mutex_destroy(&THR_LOCK_dbug);
init_done= 0; init_done= 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment