summaryrefslogtreecommitdiff
path: root/dbug/dbug_analyze.c
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-11-04 22:29:00 +0100
committerserg@serg.mylan <>2004-11-04 22:29:00 +0100
commit353dd4fe354cabcd486d96373191d080cec69537 (patch)
treedd3f43e4363d187e0227964fdda2406de51190d0 /dbug/dbug_analyze.c
parentb12dfea6be3f01c0fe8bc078794e3e5c5aa795bb (diff)
downloadmariadb-git-353dd4fe354cabcd486d96373191d080cec69537.tar.gz
dbug: DBUG_EXECUTE_IF macro, build user manual automatically, document all features
charset2html moved from mysys to extra ignore: new files added, garbage removed
Diffstat (limited to 'dbug/dbug_analyze.c')
-rw-r--r--dbug/dbug_analyze.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/dbug/dbug_analyze.c b/dbug/dbug_analyze.c
index de228c64aa5..0841e8e0b70 100644
--- a/dbug/dbug_analyze.c
+++ b/dbug/dbug_analyze.c
@@ -572,6 +572,11 @@ int main (int argc, char **argv)
FILE *infile;
FILE *outfile = {stdout};
+#if defined(HAVE_PTHREAD_INIT) && defined(THREAD)
+ pthread_init(); /* Must be called before DBUG_ENTER */
+#endif
+ my_thread_global_init();
+ {
DBUG_ENTER ("main");
DBUG_PROCESS (argv[0]);
my_name = argv[0];
@@ -601,6 +606,7 @@ int main (int argc, char **argv)
output (outfile);
DBUG_RETURN (EX_OK);
}
+}
#ifdef MSDOS