1<?xml version="1.0" encoding="UTF-8" standalone="no"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 <title>Release 4.2: DB->verify</title> 7 <link rel="stylesheet" href="gettingStarted.css" type="text/css" /> 8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> 9 <link rel="start" href="index.html" title="Berkeley DB Programmer's Reference Guide" /> 10 <link rel="up" href="upgrade_4_2_toc.html" title="Chapter��39.��Upgrading Berkeley DB 4.1 applications to Berkeley DB 4.2" /> 11 <link rel="prev" href="upgrade_4_2_priority.html" title="Release 4.2: DB->set_cache_priority" /> 12 <link rel="next" href="upgrade_4_2_lockng.html" title="Release 4.2: DB_LOCK_NOTGRANTED" /> 13 </head> 14 <body> 15 <div class="navheader"> 16 <table width="100%" summary="Navigation header"> 17 <tr> 18 <th colspan="3" align="center">Release 4.2: DB->verify</th> 19 </tr> 20 <tr> 21 <td width="20%" align="left"><a accesskey="p" href="upgrade_4_2_priority.html">Prev</a>��</td> 22 <th width="60%" align="center">Chapter��39.��Upgrading Berkeley DB 4.1 applications to Berkeley DB 4.2</th> 23 <td width="20%" align="right">��<a accesskey="n" href="upgrade_4_2_lockng.html">Next</a></td> 24 </tr> 25 </table> 26 <hr /> 27 </div> 28 <div class="sect1" lang="en" xml:lang="en"> 29 <div class="titlepage"> 30 <div> 31 <div> 32 <h2 class="title" style="clear: both"><a id="upgrade_4_2_verify"></a>Release 4.2: DB->verify</h2> 33 </div> 34 </div> 35 </div> 36 <p>In previous releases, applications calling the <a href="../api_reference/C/dbverify.html" class="olink">DB->verify()</a> method had 37to explicitly discard the <a href="../api_reference/C/db.html" class="olink">DB</a> handle by calling the 38<a href="../api_reference/C/dbclose.html" class="olink">DB->close()</a> method. Further, using the <a href="../api_reference/C/db.html" class="olink">DB</a> handle in other ways 39after calling the <a href="../api_reference/C/dbverify.html" class="olink">DB->verify()</a> method was not prohibited by the 40documentation, although such use was likely to lead to problems.</p> 41 <p>For consistency with other Berkeley DB methods, <a href="../api_reference/C/dbverify.html" class="olink">DB->verify()</a> method has been 42documented in the current release as a <a href="../api_reference/C/db.html" class="olink">DB</a> handle destructor. 43Applications using the <a href="../api_reference/C/db.html" class="olink">DB</a> handle in any way (including calling 44the <a href="../api_reference/C/dbclose.html" class="olink">DB->close()</a> method) after calling <a href="../api_reference/C/dbverify.html" class="olink">DB->verify()</a> should be 45updated to make no further use of any kind of the <a href="../api_reference/C/db.html" class="olink">DB</a> handle 46after <a href="../api_reference/C/dbverify.html" class="olink">DB->verify()</a> returns.</p> 47 </div> 48 <div class="navfooter"> 49 <hr /> 50 <table width="100%" summary="Navigation footer"> 51 <tr> 52 <td width="40%" align="left"><a accesskey="p" href="upgrade_4_2_priority.html">Prev</a>��</td> 53 <td width="20%" align="center"> 54 <a accesskey="u" href="upgrade_4_2_toc.html">Up</a> 55 </td> 56 <td width="40%" align="right">��<a accesskey="n" href="upgrade_4_2_lockng.html">Next</a></td> 57 </tr> 58 <tr> 59 <td width="40%" align="left" valign="top">Release 4.2: DB->set_cache_priority��</td> 60 <td width="20%" align="center"> 61 <a accesskey="h" href="index.html">Home</a> 62 </td> 63 <td width="40%" align="right" valign="top">��Release 4.2: DB_LOCK_NOTGRANTED</td> 64 </tr> 65 </table> 66 </div> 67 </body> 68</html> 69