apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: apr-util-1.3.8 bug against MySQL 5.1.36
Date Fri, 31 Jul 2009 10:19:48 GMT
On Fri, 2009-07-31 at 11:11 +0200, Graham Leggett wrote:
> I find my_init() defined here:
> 
> mysql/mysql_com.h
> 
> /* Some other useful functions */
> 
> my_bool my_init(void);
> 
> I suspect we may not be including this header.

We are not including mysql/mysql_com.h directly.

MySQL 5.0 manual says:
-------------
#include <my_global.h>
#include <my_sys.h>
-------------

MySQL 5.1 manual says:
-------------
#include <my_global.h>
#include <my_sys.h>
-------------

We have:
-------------
#ifdef HAVE_MY_GLOBAL_H
#include <my_global.h>
#elif defined(HAVE_MYSQL_MY_GLOBAL_H)
#include <mysql/my_global.h>
#endif
#ifdef HAVE_MY_SYS_H
#include <my_sys.h>
#elif defined(HAVE_MYSQL_MY_SYS_H)
#include <mysql/my_sys.h>
#endif
-------------

So, we should be doing things right. And yet, there are problems.

What do you guys see in your config.log? Or is this not something that
one gets on Windows....

-- 
Bojan


Mime
View raw message