commit_xact

Marks a distributed transaction as committed.

Syntax

RETCODE commit_xact (
PDBPROCESS
connect,
DBINT
commid );

where

connect
Is the DBPROCESS structure used to communicate with the commit service.
commid
Is the number used by the commit service to identify the transaction.

Returns

SUCCEED or FAIL.

Remarks

This function informs the commit service that the status of a distributed transaction should be changed from "begin" to "commit."

See Also

abort_xact, remove_xact, scan_xact, start_xact, stat_xact