[issue28518] execute("begin immediate") throwing OperationalError

Ma Lin report at bugs.python.org
Mon Jan 2 23:42:41 EST 2017


Ma Lin added the comment:

I'm trying to catch up with you.
Does it mean, if I want execute VACUUM, I have to commit manually? Like this:

if conn.in_transaction:
    conn.commit()
conn.execute("vacuum")

----------

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


More information about the Python-bugs-list mailing list