[issue8845] Expose sqlite3 connection inTransaction as read-only in_transaction attribute

Jean-Paul Calderone report at bugs.python.org
Fri May 28 21:37:04 CEST 2010


Jean-Paul Calderone <exarkun at twistedmatrix.com> added the comment:

> If the user issues the 'save' command a commit is done.  When they quit the application, I'd like to be able to prompt them with a 'save or discard' if and only if they have made changes since the last save.

Isn't this the same as "if they have issued any non-SELECT" statements?  And isn't that pretty easy to track?

(Not that I'm opposed to making the SQLite3 wrapper more complete.)

----------
nosy: +exarkun

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


More information about the Python-bugs-list mailing list