On Sun, Jul 20, 2008 at 11:50:20PM -0400, Glenn Maynard wrote:
> Why does the attached test case show the expected "cannot rollback -
> no transaction is active" error with the v1 interface, but the
> generic "SQL logic error or missing database" error when using the v2
> interface?
> 
> If I add a sqlite3_reset to the v2 interface case (treating it like
> v1), I get the expected error message.
> 
> (tested on 3.6.0)

I guess this is a bug, then...

Easy enough to work around (reset the statement like the v1 API, which
is usually a good thing to do anyway), just a pain to diagnose if you
don't know about it.

-- 
Glenn Maynard
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to