endurox.tpcommit¶
- endurox.tpcommit(flags: int = 0) None ¶
Commit global transaction currently associated with given thread.
For more details see tpcommit(3) C API call.
- Raises:
AtmiException –
Following error codes may be present:TPEINVAL
- Invalid flags passed.TPETIME
- Transaction manager timeout.TPEABORT
- Global transaction was aborted (due to marking or error error during two phase commit).TPEHAZARD
- Partial commit and/or abort.TPEHEURISTIC
- Partial commit and/or abort.TPEPROTO
- Invalid call sequence.TPESYSTEM
- System error occurred.TPEOS
- Operating system error occurred.- Parameters:
flags (int) – Bitwise flags of
TPTXCOMMITDLOG
default value is 0.