Re: [Cppcms-users] Bizarre prepared statement problem
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-05-22 20:07:00
|
> On the second thought... > > > It is bug because it is really unexpected behavior.. > > And stuff like this > > > r = sql << "SELECT ... ? .. " << (a+b); > > while(r.next()) { > > } > > Would not work properly > > Please open a bug report with HIGH priority > > Thanks for the enlightenment! > > Artyom > Fixed in svn trunk in chageneset 2178. Please take it and see if it solve the problem (it should) I switched from using SQLITE_STATIC to full copy. I think I'm going to release a hot fix release for cppdb because some assumptions on the scope of the statement were incorrect. Artyom |