#include <db_cxx.h>typedef int (*tx_recover_fcn)(DB_LOG *, DBT *, DB_LSN *, int, void *); void DbEnv::set_tx_recover(tx_recover_fcn);
Set the function that is called by DbTxn::abort during transaction abort. This function takes five arguments:
If no recover function is specified, the default is that only Berkeley DB access method operations are transaction protected, and the default recover function will be used.