Berkeley DB Reference Guide:
Upgrading Berkeley DB Applications

PrevRefNext

Release 3.1: DB_ENV->set_tx_recover

The redo parameter of the function passed to DB_ENV->set_tx_recover used to be an integer set to any one of a number of #defined values. In the 3.1 release of Berkeley DB, the redo parameter has been replaced by the op parameter which is an enumerated type of type db_recops.

If your application calls DB_ENV->set_tx_recover, then find the function referred to by the call. Replace the flag values in that function as follows:

Previous flagBerkeley DB 3.1 version flag
TXN_BACKWARD_ROLLDB_TXN_BACKWARD_ROLL
TXN_FORWARD_ROLLDB_TXN_FORWARD_ROLL
TXN_OPENFILESDB_TXN_OPENFILES
TXN_REDODB_TXN_FORWARD_ROLL
TXN_UNDODB_TXN_ABORT

PrevRefNext

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.