Commit 4d468bdc authored by Jon Olav Hauglid's avatar Jon Olav Hauglid

Merge from mysql-5.1-bugteam to mysql-5.5-bugteam

No conflicts
parents 11ebb5ba a85c2218
......@@ -315,6 +315,9 @@ void my_print_stacktrace(uchar* stack_bottom, ulong thread_stack)
/* Produce a core for the thread */
void my_write_core(int sig)
{
#ifdef HAVE_gcov
extern void __gcov_flush(void);
#endif
signal(sig, SIG_DFL);
#ifdef HAVE_gcov
/*
......@@ -322,7 +325,6 @@ void my_write_core(int sig)
information from this process, causing gcov output to be incomplete.
So we force the writing of coverage information here before terminating.
*/
extern void __gcov_flush(void);
__gcov_flush();
#endif
pthread_kill(pthread_self(), sig);
......
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