Message284268
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. |
|
Date |
User |
Action |
Args |
2016-12-29 14:49:22 | palaviv | set | recipients:
+ palaviv, ghaering, jaraco, ned.deily, r.david.murray, socketpair, berker.peksag, serhiy.storchaka, xiang.zhang, Big Stone, fschulze |
2016-12-29 14:49:22 | palaviv | set | messageid: <1483022962.05.0.311122549723.issue28518@psf.upfronthosting.co.za> |
2016-12-29 14:49:22 | palaviv | link | issue28518 messages |
2016-12-29 14:49:21 | palaviv | create | |
|