On Sat, 26 Sep 2009 05:20:33 +0200, Mark Andrews <ma...@isc.org> wrote:

In message <20090925184532.cf9cc...@raisa.eu.org>, Emil Smolenski writes:

 BTW, why there are only #ifdefs without #define in 9.7.0a3? Is user
forced to set this option himself to make it work?

No.  MYSQL_OPT_RECONNECT is only in some versions of mysql.  If you have
a version which supports MYSQL_OPT_RECONNECT then MYSQL_OPT_RECONNECT will be defined.

So why has it recently changed? I was confused previously, because I didn't find it defined anywhere.

$ diff bind-9.7.0a3/contrib/dlz/drivers/dlz_mysql_driver.c \
   bind-9.7.0rc1/contrib/dlz/drivers/dlz_mysql_driver.c
795c795
< #ifdef MYSQL_OPT_RECONNECT
---
#if MYSQL_VERSION_ID >= 50000
929c929
< #ifdef MYSQL_OPT_RECONNECT
---
#if MYSQL_VERSION_ID >= 50000

--
am
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to