void abort_txn(DbEnv *env)
Abort current transaction of environment "env".
This function is called by dbstl user to abort an outside explicit transaction.
void abort_txn(DbEnv *env, DbTxn *txn)
Abort specified transaction "txn" and all its child transactions.
That is, "txn" can be a parent transaction of a nested transaction group.
The transaction to abort, can be a parent transaction of a nested transaction group, all child transactions of it will be aborted.
dbstl transaction API.
You should call these API rather than DB C/C++ API to use Berkeley DB transaction features.