From 434bbc34ad1a4307d596907a08e5eca9cb996107 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 24 Mar 2014 20:02:08 +0100 Subject: 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 --- dbug/dbug.c | 1 + 1 file changed, 1 insertion(+) (limited to 'dbug/dbug.c') diff --git a/dbug/dbug.c b/dbug/dbug.c index db5ecb7b95e..763ec9a89b1 100644 --- a/dbug/dbug.c +++ b/dbug/dbug.c @@ -1642,6 +1642,7 @@ void _db_end_() cs->stack= &init_settings; FreeState(cs, 0); + pthread_mutex_destroy(&THR_LOCK_dbug); init_done= 0; } -- cgit v1.2.1