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
1733 AC_MSG_CHECKING(if Debug Sync Facility should be enabled.)
1736 [Build a version with Debug Sync
1737 [ enable_debug_sync=$enableval ],
1738 [ enable_debug_sync=$with_debug ])
1740 if test "$enable_debug_sync" != "no"
1742 AC_DEFINE([ENABLED_DEBUG_SYNC], ,
1743 [If Debug Sync Facility should be enabled])
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.
Joerg Bruehe, MySQL Build Team, Joerg.Bruehe@stripped
Sun Microsystems GmbH, Komturstrasse 18a, D-12099 Berlin
Geschaeftsfuehrer: Juergen Kunz
Amtsgericht Muenchen: HRB161028