Changes between Initial Version and Version 1 of Ticket #12226, comment 5
- Timestamp:
- Nov 4, 2015, 4:41:17 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12226, comment 5
initial v1 1 1 For MySQL, a failure of query wouldn't lead abort of the transaction, e.g not found table and unique key violation. We should catch exceptions outside a transaction context manager. Otherwise, explicitly call `db.rollback()`. 2 3 See also: 4 - [source:tags/trac-1.1.6/trac/web/session.py@:130,132-133#L116] 5 - [source:tags/trac-1.1.6/trac/versioncontrol/cache.py@:183,191-193#L162] 2 6 3 7 {{{#!diff