List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:August 26 2004 1:53am
Subject:Re: query.preview() and
View as plain text  
Patrick Lin wrote:

> Just a quick question...  Is meant to clear the query
> buffer (even as a side-affect)?  When attempting to use
> query.preview() after a, the result is an empty string.
> Whereas query.preview() works as expected when called prior to a

It probably does that so that you can reuse the Query object.  One issue 
on the Wishlist is an investigation into why you can't always reuse 
query objects, which seems a sensible thing to do.  Wanna take a crack 
at it?
query.preview() and Lin25 Aug
  • Re: query.preview() and Young26 Aug