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 3.3: memp_fget, EIO</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_3_3_toc.html" title="Chapter��36.��Upgrading Berkeley DB 3.2 applications to Berkeley DB 3.3" /> 11 <link rel="prev" href="upgrade_3_3_conflict.html" title="Release 3.3: DB_LOCK_CONFLICT" /> 12 <link rel="next" href="upgrade_3_3_txn_prepare.html" title="Release 3.3: txn_prepare" /> 13 </head> 14 <body> 15 <div class="navheader"> 16 <table width="100%" summary="Navigation header"> 17 <tr> 18 <th colspan="3" align="center">Release 3.3: memp_fget, EIO</th> 19 </tr> 20 <tr> 21 <td width="20%" align="left"><a accesskey="p" href="upgrade_3_3_conflict.html">Prev</a>��</td> 22 <th width="60%" align="center">Chapter��36.��Upgrading Berkeley DB 3.2 applications to Berkeley DB 3.3</th> 23 <td width="20%" align="right">��<a accesskey="n" href="upgrade_3_3_txn_prepare.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_3_3_memp_fget"></a>Release 3.3: memp_fget, EIO</h2> 33 </div> 34 </div> 35 </div> 36 <p>Previous releases of Berkeley DB returned the system error EIO when the 37memp_fget function was called to retrieve a page, the page did not 38exist, and the <code class="literal">DB_MPOOL_CREATE</code> flag was not set. In the 3.3 39release, the error <code class="literal">DB_PAGE_NOTFOUND</code> is returned instead, to 40allow applications to distinguish between recoverable and 41non-recoverable errors. Applications calling the memp_fget function 42and checking for a return of EIO should check for 43<code class="literal">DB_PAGE_NOTFOUND</code> instead.</p> 44 <p>Previous releases of Berkeley DB treated filesystem I/O failure (the most 45common of which the filesystem running out of space), as a fatal error, 46returning <a class="link" href="program_errorret.html#program_errorret.DB_RUNRECOVERY">DB_RUNRECOVERY</a>. When a filesystem failure happens in 47the 3.3 release Berkeley DB returns the underlying system error (usually EIO), 48but can continue to run. Applications should abort any enclosing 49transaction when a recoverable system error occurs in order to recover 50from the error.</p> 51 </div> 52 <div class="navfooter"> 53 <hr /> 54 <table width="100%" summary="Navigation footer"> 55 <tr> 56 <td width="40%" align="left"><a accesskey="p" href="upgrade_3_3_conflict.html">Prev</a>��</td> 57 <td width="20%" align="center"> 58 <a accesskey="u" href="upgrade_3_3_toc.html">Up</a> 59 </td> 60 <td width="40%" align="right">��<a accesskey="n" href="upgrade_3_3_txn_prepare.html">Next</a></td> 61 </tr> 62 <tr> 63 <td width="40%" align="left" valign="top">Release 3.3: DB_LOCK_CONFLICT��</td> 64 <td width="20%" align="center"> 65 <a accesskey="h" href="index.html">Home</a> 66 </td> 67 <td width="40%" align="right" valign="top">��Release 3.3: txn_prepare</td> 68 </tr> 69 </table> 70 </div> 71 </body> 72</html> 73