diff options
author | unknown <serg@serg.mylan> | 2004-11-04 22:29:00 +0100 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-11-04 22:29:00 +0100 |
commit | 7b72401c5f469028b374a69783dd8fc5bbf84966 (patch) | |
tree | dd3f43e4363d187e0227964fdda2406de51190d0 /dbug/dbug_analyze.c | |
parent | 1ce11fe0416512f9a9a4133cd7feaf2c68a483d8 (diff) | |
download | mariadb-git-7b72401c5f469028b374a69783dd8fc5bbf84966.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
extra/charset2html.c:
Rename: mysys/charset2html.c -> extra/charset2html.c
configure.in:
remove historical difference between test_thr_alarm, test_thr_lock and
six newer mysys/test_* programs
build dbug after mysys
dbug/Makefile.am:
build utils and examples, build manual
dbug/dbug.c:
cleanup
DBUG_EXECUTE_IF macro
dbug/dbug_analyze.c:
fix it to run
dbug/dbug_long.h:
warning added
dbug/main.c:
fix it to run
dbug/user.r:
formating cleanup
all undocumented features documented
extra/Makefile.am:
charset2html moved from mysys
include/my_dbug.h:
DBUG_EXECUTE_IF() macro
mysys/Makefile.am:
charset2html moved to extra
BitKeeper/etc/ignore:
new files added, garbage removed
Diffstat (limited to 'dbug/dbug_analyze.c')
-rw-r--r-- | dbug/dbug_analyze.c | 6 |
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 |