List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:November 25 2009 5:50pm
Subject:Re: set_option ( ReconnectOption )
View as plain text  
Dino Korah wrote:
> 
> I am working with 3.0.9 and there seems to be no way I can effectively 
> use it to reconnect in scenario where I need to run a set of SQLs to 
> setup the connection for real use in my application. They are mostly 
> session variables meant for auto_increment.

It is not clear to me what your problem actually is.  Why does it matter 
what SQL you're using?  How does that affect connection management?  Why 
do you need to reconnect in the first place?

ReconnectOption exists to make the underlying C API library try to 
reconnect to the DB server if our connection to it gets dropped without 
the client's asking for it.  That's why it's just a boolean option: yes 
enable this feature, or no don't do this.
Thread
set_option ( ReconnectOption )Dino Korah25 Nov
  • Re: set_option ( ReconnectOption )Warren Young25 Nov
    • Re: set_option ( ReconnectOption )Dino Korah25 Nov
      • Re: set_option ( ReconnectOption )Warren Young25 Nov
        • Re: set_option ( ReconnectOption )Dino Korah25 Nov
          • Re: set_option ( ReconnectOption )Warren Young25 Nov
            • Re: set_option ( ReconnectOption )Dino Korah26 Nov
              • Re: set_option ( ReconnectOption )Warren Young26 Nov
                • Re: set_option ( ReconnectOption )Dino Korah26 Nov
                  • Re: set_option ( ReconnectOption )Warren Young26 Nov
                • Re: set_option ( ReconnectOption )Dino Korah26 Nov
                  • Re: set_option ( ReconnectOption )Warren Young26 Nov
            • Re: set_option ( ReconnectOption )Dino Korah26 Nov
              • RE: set_option ( ReconnectOption )F.N. Bruggeman26 Nov