move DBUG_END() after my_thread_global_end(), when all threads have already died.
This commit is contained in:
parent
d92009231d
commit
903ad7c941
@ -201,11 +201,12 @@ Voluntary context switches %ld, Involuntary context switches %ld\n",
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my_thread_end();
|
||||||
|
my_thread_global_end();
|
||||||
|
|
||||||
if (!(infoflag & MY_DONT_FREE_DBUG))
|
if (!(infoflag & MY_DONT_FREE_DBUG))
|
||||||
DBUG_END(); /* Must be done as late as possible */
|
DBUG_END(); /* Must be done as late as possible */
|
||||||
|
|
||||||
my_thread_end();
|
|
||||||
my_thread_global_end();
|
|
||||||
my_mutex_end();
|
my_mutex_end();
|
||||||
#if defined(SAFE_MUTEX)
|
#if defined(SAFE_MUTEX)
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user