dbTalk Databases Forums  

Can I set the MYSQL_OPT_RECONNECT option?

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Can I set the MYSQL_OPT_RECONNECT option? in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kevin Regan
 
Posts: n/a

Default Can I set the MYSQL_OPT_RECONNECT option? - 02-09-2006 , 12:34 PM






------_=_NextPart_001_01C62DA7.6357182C
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


From MySQL 5.0.13 on, the MYSQL_OPT_RECONNECT is set to 0 (off) by =
default. Looking at MySQL++ 2.0.7, it looks like it currently doesn't =
allow this option to be set. Am I missing something? Is there a way =
that I can set this option?

Sincerely,
Kevin Regan
F5 Networks

------_=_NextPart_001_01C62DA7.6357182C--

Reply With Quote
  #2  
Old   
Warren Young
 
Posts: n/a

Default Re: Can I set the MYSQL_OPT_RECONNECT option? - 02-09-2006 , 01:09 PM






Kevin Regan wrote:
Quote:
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.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #3  
Old   
Kevin Regan
 
Posts: n/a

Default RE: Can I set the MYSQL_OPT_RECONNECT option? - 02-09-2006 , 01:14 PM



------_=_NextPart_001_01C62DAC.FABA4D18
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


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

--Kevin

-----Original Message-----
From: Warren Young [mailto:mysqlpp (AT) etr-usa (DOT) com]
Sent: Thu 2/9/2006 11:09 AM
To: MySQL++ Mailing List
Subject: Re: Can I set the MYSQL_OPT_RECONNECT option?
=20
Kevin Regan wrote:
Quote:
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.

--=20
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: =
http://lists.mysql.com/plusplus?unsu...) f5 (DOT) com



------_=_NextPart_001_01C62DAC.FABA4D18--


Reply With Quote
  #4  
Old   
Kevin Regan
 
Posts: n/a

Default RE: Can I set the MYSQL_OPT_RECONNECT option? - 02-09-2006 , 01:20 PM



------_=_NextPart_001_01C62DAD.D74724C4
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


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
<Arnon.Jalon (AT) 247RealMedia (DOT) 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.regan (AT) f5 (DOT) com]
Sent: Thu 2/9/2006 11:12 AM
To: plusplus (AT) lists (DOT) mysql.com; MySQL++ Mailing List
Subject: RE: Can I set the MYSQL_OPT_RECONNECT option?
=20

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

--Kevin

-----Original Message-----
From: Warren Young [mailto:mysqlpp (AT) etr-usa (DOT) com]
Sent: Thu 2/9/2006 11:09 AM
To: MySQL++ Mailing List
Subject: Re: Can I set the MYSQL_OPT_RECONNECT option?
=20
Kevin Regan wrote:
Quote:
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.

--=20
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: =
http://lists.mysql.com/plusplus?unsu...) f5 (DOT) com




------_=_NextPart_001_01C62DAD.D74724C4--


Reply With Quote
  #5  
Old   
Warren Young
 
Posts: n/a

Default Re: Can I set the MYSQL_OPT_RECONNECT option? - 02-10-2006 , 12:55 PM



Kevin Regan wrote:
Quote:
Will this be in a future release?
Agh...sorry about that. I forgot that patch hadn't been released yet.

All I'm waiting for on 2.0.8 is a better excuse to release. I don't
like to make releases for small feature patches like this.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.