List:MySQL++« Previous MessageNext Message »
From:cgifalco Date:November 11 2004 8:24am
Subject:Re: Result constructor
View as plain text  
Cituji z emailu od Chris Frey <cdfrey@stripped>:

> 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
>
>
> --
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe:
> http://lists.mysql.com/plusplus?unsub=1
>
>


Thank you very much. It works fine.

cgifalco
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