Antony Dovgal wrote:
> Patch #2 (mysql_defines.h) fixes another problem: if MySQL server has been built with
> --with-debug option,
> it uses SAFE_MUTEX (and SAFEMALLOC for "full" debug), but these defines are nowhere
> to be found,
> hence one needs to add them manually in order to build a working plugin (there are no
> compile errors,
> just random runtime problems because of different structure size).
> The patch adds these defines to config.h (and my_config.h).
while we're on it we should also remove the addition of SADE_MUTEX
and SAFEMALLOC defines in BUILD/compile-*-debug* build scripts as
these are redundant anyway?
And add some configure options for things like EXTRA_DEBUG instead
of controlling these via manually adding -D options to CFLAGS to
controll these only?
Hartmut Holzgraefe, MySQL Regional Support Manager, EMEA
Don't Miss the 2009 MySQL User's Conference: http://mysqlconf.com
Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering