5 messages in com.mysql.lists.plusplusRE: Can I set the MYSQL_OPT_RECONNECT...
FromSent OnAttachments
Kevin Regan09 Feb 2006 10:33 
Warren Young09 Feb 2006 11:09 
Kevin Regan09 Feb 2006 11:12 
Kevin Regan09 Feb 2006 11:19 
Warren Young10 Feb 2006 10:53 
Subject:RE: Can I set the MYSQL_OPT_RECONNECT option?
From:Kevin Regan (k.re@f5.com)
Date:02/09/2006 11:19:15 AM
List:com.mysql.lists.plusplus

I see it in the repository:

Revision 1159 - (view) (download) (as text) - [select for diffs] Modified Tue Dec 20 08:45:54 2005 CET (7 weeks, 2 days ago) by wyoung File length: 17270 byte(s) Diff to previous 991

Added a new option for Connection::set_option(), to enable the automatic reconnect feature in MySQL 5.0.13 and up. Patch by Arnon Jalon <Arno@247RealMedia.com>

I'll add this to our local copy of 2.0.7 and wait for the next version release.
:-)

--Kevin

-----Original Message----- From: Kevin Regan [mailto:k.re@f5.com] Sent: Thu 2/9/2006 11:12 AM To: plus@lists.mysql.com; MySQL++ Mailing List Subject: RE: Can I set the MYSQL_OPT_RECONNECT option?

Will this be in a future release? Currently, it doesn't look to be supported in
2.0.7:

$ grep opt_reconnect mysql++-2.0.7/lib/connection.h

-----Original Message----- From: Warren Young [mailto:mysq@etr-usa.com] Sent: Thu 2/9/2006 11:09 AM To: MySQL++ Mailing List Subject: Re: Can I set the MYSQL_OPT_RECONNECT option?

Kevin Regan wrote:

Looking at MySQL++ 2.0.7, it looks like it currently doesn't allow this option
to be set.

Look harder. lib/connection.h, search for opt_reconnect.