-
Sub-task
-
Resolution: Fixed
-
Minor
-
2.0
-
None
-
MOODLE_20_STABLE
-
MOODLE_20_STABLE
This topic was brought forward by Tim in http://moodle.org/mod/forum/discuss.php?d=135847
I personally do not think we should start using the transactions in moodle core now, but in any case I already considered the nested transactions last year. At that time it could not be done because we were not yet using exceptions.
Attaching patch that adds nested transactions without API changes, includes unittests.