endurox.tpscmt

endurox.tpscmt(flags: int) → int

Set commit mode, how tpcommit() returns, either after full two phase commit, or only after decision logged (i.e. prepare phase).

For more details see C call tpscmt(3).

Returns:

flags – TP_CMT_LOGGED or TP_CMT_COMPLETE (default).

Return type:

int