Avoid db.rollback() in upgrade_environment()
|Reported by:||pipern||Owned by:||rjollos|
|Severity:||major||Keywords:||AttributeError upgrade db|
|Cc:||hasienda, lkraav||Trac Release:||0.12|
db.rollback() should be avoided in upgrade_environment(db), as this would rollback the actions of other plugins which are also upgrading at the same time.
I don't know if it's the best way - for now, I just commented out the db.rollback(). I'm not certain if it's needed after a SELECT throws an exception due to missing table.
Change History (9)
comment:2 Changed 2 years ago by rjollos
- Cc hasienda lkraav added; anonymous removed
- Owner changed from otaku42 to rjollos
- Status changed from new to assigned