Message124392
The python sqlite module automatically commits open transactions
when it encounters a DDL statement. This is unnecessary; DDL is
transactional in my testing (see attached).
Attached patch addresses the issue. Patch is against 2.6.1, but
looking at Trunk in svn, it seems like the patch is needed and
would apply. One issue I could foresee is that this behavior might
depend on the sqlite version in use (I'm on 3.6.10).
Patch also allows pragma statement. |
|
Date |
User |
Action |
Args |
2010-12-20 18:02:16 | scott.urban | set | recipients:
+ scott.urban |
2010-12-20 18:02:15 | scott.urban | set | messageid: <1292868135.81.0.257293444934.issue10740@psf.upfronthosting.co.za> |
2010-12-20 18:02:11 | scott.urban | link | issue10740 messages |
2010-12-20 18:02:11 | scott.urban | create | |
|