dbTalk Databases Forums  

How to enable reconnection?

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


Discuss How to enable reconnection? in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
grundig3@caramail.com
 
Posts: n/a

Default How to enable reconnection? - 12-09-2005 , 09:57 AM






Hi all,

I noticed that since mysql 5.0.13, the Mysql C API reconnection flag is
set to false. In the doc they explain that it's possible to use:
"MYSQL_OPT_RECONNECT option to > mysql_options() to control
reconnection behavior". But I don't see how to do this call in mysql++.
In fact the function Connection::set_options_impl seems to do the trick
but this function is declared as protected.

Do I am missing something ? Any idea ?

Thanks,
Manu


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.