Commit 4fbdddf2 authored by joerg@debian.(none)'s avatar joerg@debian.(none)

dbug/dbug_analyze.c : Avoid the unresolved symbol "my_thread_global_init()"

                        in a build "--without-server".

Fix for bug#14685
parent 5de73f45
...@@ -574,10 +574,12 @@ int main (int argc, char **argv) ...@@ -574,10 +574,12 @@ int main (int argc, char **argv)
FILE *infile; FILE *infile;
FILE *outfile = {stdout}; FILE *outfile = {stdout};
#if defined(HAVE_PTHREAD_INIT) && defined(THREAD) #ifdef THREAD
#if defined(HAVE_PTHREAD_INIT)
pthread_init(); /* Must be called before DBUG_ENTER */ pthread_init(); /* Must be called before DBUG_ENTER */
#endif #endif
my_thread_global_init(); my_thread_global_init();
#endif /* THREAD */
{ {
DBUG_ENTER ("main"); DBUG_ENTER ("main");
DBUG_PROCESS (argv[0]); DBUG_PROCESS (argv[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