Thank for your reply.

I've also tried the configure option - '--enable-debug-sync',
but it cannot work with message - ' configure: WARNING: unrecognized options: --enable-debug-sync '.

I've also tried configure option - '--with-debug=full',
it can configure and no-warring message.
When i completed total install operation,
it still cannot support the system variable - DEBUG_SYNC.

I tried use the url - 'http://forge.mysql.com/wiki/MySQL_Internals_Test_Synchronization#Debug_Sync_Implementation'
and tried other related webpage, but it still cannot work.

I not found the file - include/have_debug_sync.inc,
so i build it myself - reference older version.
It still cannot work.

I guess that mysql don't support the system variable - 'DEBUG_SYNC',
but i'm not sure that thinking is correct.


Thank you very much.



----- Original Message ----- From: "Joerg Bruehe" <joerg.bru...@sun.com>
To: "Meng-Ju, Hsieh" <mjhs...@iis.sinica.edu.tw>
Cc: <mysql@lists.mysql.com>
Sent: Saturday, May 22, 2010 12:35 AM
Subject: Re: Mysqltest Unknown system variable, failed: 1193


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.bru...@sun.com
Sun Microsystems GmbH,   Komturstrasse 18a,   D-12099 Berlin
Geschaeftsfuehrer: Juergen Kunz
Amtsgericht Muenchen: HRB161028


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=eric7...@gmail.com



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to