KI_BEGIN
Argument | Enumeration | Purpose |
---|---|---|
connect | Database connection | |
type | KDB_TRANS_ENUM | Optional extra flags |
status | KDB_ERROR_ENUM | Return status |
KI_BEGIN
This function is used to start a transaction on a database. All updates done to the database after this will only be committed when a KI_COMMIT call is made. An error or an explicit KI_ROLLBACK will abandon the changes.
This mechanism for controlling transactions has been replaced in KCML 6.20 by the WHILE TRANS ... END TRANS loop which allows deadlocks to be handled automatically.