Module txn
-
int
box_txn_begin
(void) Begin a transaction in the current fiber.
A transaction is attached to caller fiber, therefore one fiber can have only one active transaction. See also box.begin().
Returns: 0 on success Returns: -1 on error. Perhaps a transaction has already been started.
-
int
box_txn_commit
(void) Commit the current transaction. See also box.commit().
Returns: 0 on success Returns: -1 on error. Perhaps a disk write failure
-
void
box_txn_rollback
(void) Roll back the current transaction. See also box.rollback().