Berkeley DB Reference Guide: Release 4.5: DB_ENV->set_paniccall
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++

### Berkeley DB Reference Guide: Upgrading Berkeley DB Applications |

### Release 4.5: DB_ENV->set_paniccall

In previous Berkeley DB releases, the DB_ENV->set_paniccall and DB->set_paniccall methods were used to register a callback function, called if the database environment failed. In the 4.5 release, this functionality has been replaced by a general-purpose event notification callback function, set with the DB_ENV->set_event_notify method. Applications should be updated to replace DB_ENV->set_paniccall and DB->set_paniccall calls with a call to DB_ENV->set_event_notify. This also requires the callback function itself change, as the callback signatures are different.

The DB_ENV->set_paniccall and DB->set_paniccall calls are expected to be removed in a future release of Berkeley DB.

Copyright (c) 1996,2007 Oracle. All rights reserved.