From: Warren Young Date: August 26 2004 1:53am Subject: Re: query.preview() and query.store() List-Archive: http://lists.mysql.com/plusplus/3418 Message-Id: <412D42A5.6010501@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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?