[Date Prev][Date Next] [Chronological] [Thread] [Top]

Regarding Transactions that span Multiple files

Create Env   - staff
Create Env   - payroll

Create Txn_staff
Create Txn_payroll

Begin write transaction for Txn_staff

Insert staff data
                Set Txn_payroll parent to Txn_staff
                Begin write transaction for Txn_payroll
                Insert payroll data
                Commit Txn_payroll

Commit Txn_staff


Can the above Pseudocode work in lmdb ? Or in other words
can a transactions span multiple env's?