Hi!
Meng-Ju, Hsieh wrote:
> Thank for your reply.
>
> I've tried to use Version 5.1, but it cannot work.
> Did you have used the system variable - 'DEBUG_SYNC' ?
I don't know what you are doing exactly, but I guess you are not using
the correct options in your call to "configure".
"DEBUG_SYNC" is a tool used for internal debugging, and according to
"configure.in" it requires the server to be configured for debugging
initially - see these lines from current 5.1 "configure.in":
1732 # Debug Sync Facility. NOTE: depends on 'with_debug'. Must be
behind it.
1733 AC_MSG_CHECKING(if Debug Sync Facility should be enabled.)
1734 AC_ARG_ENABLE(debug_sync,
1735 AS_HELP_STRING([--enable-debug-sync],
1736 [Build a version with Debug Sync
Facility]),
1737 [ enable_debug_sync=$enableval ],
1738 [ enable_debug_sync=$with_debug ])
1739
1740 if test "$enable_debug_sync" != "no"
1741 then
1742 AC_DEFINE([ENABLED_DEBUG_SYNC], [1],
1743 [If Debug Sync Facility should be enabled])
1744 AC_MSG_RESULT([yes])
1745 else
1746 AC_MSG_RESULT([no])
1747 fi
So you need to use
configure ... --with-debug ... --enable-debug-sync ...
if you really want to do something using "DEBUG_SYNC".
I noticed that the text in the Wiki reads a bit different, I can't tell
which one is right. I myself don't need "DEBUG_SYNC" in my work.
Regards,
Jörg
--
Joerg Bruehe, MySQL Build Team, Joerg.Bruehe@stripped
Sun Microsystems GmbH, Komturstrasse 18a, D-12099 Berlin
Geschaeftsfuehrer: Juergen Kunz
Amtsgericht Muenchen: HRB161028