List:MySQL++« Previous MessageNext Message »
From:Chris Frey Date:November 11 2004 5:47am
Subject:Re: Result constructor
View as plain text  
On Wed, Nov 10, 2004 at 09:56:05PM +0100, cgifalco wrote:
> here is the snippet of the code from the dbinfo.cc:
> try {
> ...
> Query query = con.query();
> query << "show databases";
> Result res = query.store();
> ...
> it works OK, but when you then write
> ...



try query.reset(); here

There have been reports that this also doesn't work, but I haven't
reproduced it.  reset() works fine for me.


> query << "show tables";  //here could be another query string
> res = query.store();
> ...
> }
> catch (BadQuery& er)
> ...
> programm issues error message
> catch (BadQuery& er)

- Chris

Thread
Result constructorcgifalco10 Nov
  • Re: Result constructorcgifalco10 Nov
  • Re: Result constructorChris Frey11 Nov
    • Re: Result constructorcgifalco11 Nov
    • Re: Result constructorWarren Young11 Nov
      • examples problemRichard Stelling16 Nov
        • Re: examples problemWarren Young16 Nov
          • Re: examples problemRichard Stelling16 Nov
Re: Result constructorWarren Young16 Nov