[prev in list] [next in list] [prev in thread] [next in thread]
List: bind-users
Subject: Re: BIND with DLZ doesn't reconnect to the MySQL 5.x server
From: "Emil Smolenski" <ambind () raisa ! eu ! org>
Date: 2009-12-13 16:33:58
Message-ID: op.u4vxmwr6sc1plf () bolt ! zol
[Download RAW message or body]
On Sat, 26 Sep 2009 05:20:33 +0200, Mark Andrews <marka@isc.org> wrote:
> In message <20090925184532.CF9CC790@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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic