Author palaviv
Recipients Big Stone, berker.peksag, fschulze, ghaering, jaraco, ned.deily, palaviv, r.david.murray, serhiy.storchaka, socketpair, xiang.zhang
Date 2016-12-29.14:49:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483022962.05.0.311122549723.issue28518@psf.upfronthosting.co.za>
In-reply-to
Content
Issue #29003 seems to be related to this one. I think that they can be solved the same way as done in Serhiy patch but I would like to suggest a different approach.
I suggest changing the check for DDL statement with a check for DML statement. We actually should start a transaction only for DML statements (https://docs.python.org/3/library/sqlite3.html#controlling-transactions) so all other statements (DDL, DCL and TCL) should not start a transaction.
The attached patch solve both this issue and issue #29003.
History
Date User Action Args
2016-12-29 14:49:22palavivsetrecipients: + palaviv, ghaering, jaraco, ned.deily, r.david.murray, socketpair, berker.peksag, serhiy.storchaka, xiang.zhang, Big Stone, fschulze
2016-12-29 14:49:22palavivsetmessageid: <1483022962.05.0.311122549723.issue28518@psf.upfronthosting.co.za>
2016-12-29 14:49:22palavivlinkissue28518 messages
2016-12-29 14:49:21palavivcreate