List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:October 12 2009 6:22pm
Subject:Re: mysqlpp::Query::store() throws BadQuery
View as plain text  
Paul Hilton wrote:
> The action I need to take is a bit different between these exceptions.

You could call BadQuery::errnum() to get the C API error number behind 
the exception, and special-case things that way.

> I've tried browsing the source for mysql++-3.0.9, but can't find it.

lib/query.* and lib/exceptions.*
mysqlpp::Query::store() throws BadQueryPaul Hilton12 Oct
  • Re: mysqlpp::Query::store() throws BadQueryWarren Young12 Oct