On Sat, 26 Sep 2009 05:20:33 +0200, Mark Andrews <[email protected]> wrote:
In message <[email protected]>, 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
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users