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 |