List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:January 28 2009 10:08pm
Subject:Re: Question about BadQuery
View as plain text  
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().

Thread
RELEASE: v3.0.5Warren Young7 Aug
  • query.str() in template query -- help!Jim Wallace28 Jan
    • RE: query.str() in template query -- <blush>Jim Wallace28 Jan
      • Re: query.str() in template query -- <blush>Warren Young28 Jan
        • storein with parametersJim Wallace28 Jan
          • Re: storein with parametersWarren Young28 Jan
            • RE: storein with parametersJim Wallace28 Jan
              • Re: storein with parametersWarren Young28 Jan
            • Question about BadQueryJim Wallace28 Jan
              • Re: Question about BadQueryWarren Young28 Jan
RE: RELEASE: v3.0.5Bernard8 Aug
  • Re: RELEASE: v3.0.5Warren Young8 Aug
    • Re: RELEASE: v3.0.5Alex9 Aug
RE: Question about BadQueryJim Wallace28 Jan
RE: Question about BadQueryDale Stewart28 Jan
RE: Question about BadQueryDale Stewart28 Jan
  • Re: Question about BadQueryWarren Young28 Jan