List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:November 25 2009 3:49pm
Subject:Re: set_option ( ReconnectOption )
View as plain text  
Dino Korah wrote:
> What is the best way to use ReconnectOption ?!

I wasn't aware that there were alternatives.  Is there another way 
besides the following?

	conn.set_option(new ReconnectOption(true));

> I couldnt find any good sample code. 

http://tangentsoft.net/mysql++/doc/html/userman/tutorial.html#connopts

Were you expecting a section in the user manual with example code 
showing how to set every one of the 30 options we currently support, 
which differ only in the single line of code calling set_option()?

Yes, I'm being snarky, but also serious.  You didn't find what you 
expected, so what exactly did you expect to find?  I can't fix it if I 
don't know, and I'm telling you I don't know. :)
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