[issue10513] sqlite3.InterfaceError after commit

Paul Melis report at bugs.python.org
Mon Apr 22 21:57:31 CEST 2013


Paul Melis added the comment:

Here's a patch that removes the
pysqlite_do_all_statements(self, ACTION_RESET, 0);
call.

It also adds the sqlite error code to one of the exceptions raised, as the error message is misleading in case the ACTION_RESET is left in (I forgot what sqlite error is actually raised in that case).

I've been using this patch for some while now with 2.7.3 and it fixes similar problems as noted in this thread.

----------
keywords: +patch
nosy: +paulmelis
Added file: http://bugs.python.org/file29981/bug10513.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10513>
_______________________________________


More information about the Python-bugs-list mailing list