Changes between Version 24 and Version 25 of TracDev/DatabaseApi
- Timestamp:
- Jan 25, 2012, 7:01:50 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/DatabaseApi
v24 v25 77 77 }}} 78 78 79 In this example, when `myFunc1()` is called, it first executes the outer transaction (`do_out _transaction()`) and then executes a nested transaction (`myFunc2()`) from within the outer transaction. The important thing to notice is:79 In this example, when `myFunc1()` is called, it first executes the outer transaction (`do_outer_transaction()`) and then executes a nested transaction (`myFunc2()`) from within the outer transaction. The important thing to notice is: 80 80 81 81 '''Nested transactions are atomic! '''