From: Warren Young Date: January 28 2009 10:08pm Subject: Re: Question about BadQuery List-Archive: http://lists.mysql.com/plusplus/8348 Message-Id: MIME-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Jan 28, 2009, at 8:59 AM, Dale Stewart wrote: > I just realized, that particular implementation is not thread safe You could just add a little complexity to fix it. In MyQuery::store() and such, wrap the Query::store() calls in try blocks, then on BadQuery, rethrow the BadQuery info as MyBadQuery, including the contents of Query::str().