storage: Forbid subtransactions.
...when connection is used as a context manager (which is the expected coding style anyway). If silently ignored, rollback may be incomplete if a subtransaction already committed. And if commit only happen at outmost transaction, no-undo changes could come undone if outer transaction aborts. This is currently observed in the code, so no other change is needed.
Showing
Please register or sign in to comment