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

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

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?
Thread
query.preview() and query.store()Patrick Lin25 Aug
  • Re: query.preview() and query.store()Warren Young26 Aug