Edgewall Software

Changes between Version 24 and Version 25 of TracDev/DatabaseApi


Ignore:
Timestamp:
Jan 25, 2012, 7:01:50 PM (12 years ago)
Author:
Alex Willmer <al.willmer@…>
Comment:

Match function name of nested transaction example and description

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/DatabaseApi

    v24 v25  
    7777}}}
    7878
    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:
     79In 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:
    8080
    8181  '''Nested transactions are atomic! '''