Starts a transactions in IMMEDIATE mode. Mode shall be either
DB_TRANS_DEFERRED
, DB_TRANS_IMMEDIATE
, or DB_TRANS_EXLCUSIVE
.
Default is DB_TRANS_IMMEDIATE
.
The function returns the following error codes:
E_DB_TRANSACTION
if the transaction failed.E_INVALID
if the transaction mode is invalid.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
integer, | intent(in), | optional | :: | mode |
Transaction mode. |