1<!--$Id: tx_recover.so,v 1.14 2002/02/23 20:05:28 bostic Exp $--> 2<!--Copyright (c) 1997,2008 Oracle. All rights reserved.--> 3<!--See the file LICENSE for redistribution information.--> 4<html> 5<head> 6<title>Berkeley DB Reference Guide: Release 3.2: DB_ENV->set_tx_recover</title> 7<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> 8<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++"> 9</head> 10<body bgcolor=white> 11<table width="100%"><tr valign=top> 12<td><b><dl><dt>Berkeley DB Reference Guide:<dd>Upgrading Berkeley DB Applications</dl></b></td> 13<td align=right><a href="/upgrade.3.2/incomplete.html"><img src="/images/prev.gif" alt="Prev"></a><a href="/toc.html"><img src="/images/ref.gif" alt="Ref"></a><a href="/upgrade.3.2/mutexlock.html"><img src="/images/next.gif" alt="Next"></a> 14</td></tr></table> 15<p align=center><b>Release 3.2: DB_ENV->set_tx_recover</b></p> 16<p>The <b>info</b> parameter of the function passed to 17DB_ENV->set_tx_recover is no longer needed. If your application 18calls DB_ENV->set_tx_recover, find the callback function referred 19to by that call and remove the <b>info</b> parameter.</p> 20<p>In addition, the called function no longer needs to handle Berkeley DB log 21records, Berkeley DB will handle them internally as well as call the 22application-specified function. Any handling of Berkeley DB log records in the 23application's callback function may be removed.</p> 24<p>In addition, the callback function will no longer be called with the 25<a href="/api_c/env_set_app_dispatch.html#DB_TXN_FORWARD_ROLL">DB_TXN_FORWARD_ROLL</a> flag specified unless the transaction 26enclosing the operation successfully committed.</p> 27<table width="100%"><tr><td><br></td><td align=right><a href="/upgrade.3.2/incomplete.html"><img src="/images/prev.gif" alt="Prev"></a><a href="/toc.html"><img src="/images/ref.gif" alt="Ref"></a><a href="/upgrade.3.2/mutexlock.html"><img src="/images/next.gif" alt="Next"></a> 28</td></tr></table> 29<p><font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 30</body> 31</html> 32