Hello Michael,
mysql_session_backend *sessionBackEnd
= static_cast<mysql_session_backend *>(sql.get_backend());
and then sessionBackEnd->conn_ gives you the MYSQL* object which is
the first argument to mysql_options().
Thanks,
Aleksander
On Fri, Jun 29, 2012 at 6:58 AM, Michael Evdokimov
<[email protected]> wrote:
> Hello!
>
> What is the best way to set some mysql options?
> I am interested in these:
> MYSQL_OPT_RECONNECT
> MYSQL_OPT_CONNECT_TIMEOUT
>
>
> --
> Best regards, Michael Evdokimov
> Network Solutions, Moscow, Russia, Office: +7-495-7950677, Mobile:
> +7-963-6054013
> Web: www.lanbilling.ru, www.lanbilling.tv, www.helpdesk2.ru
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users