• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/docs/ref/upgrade.3.3/
1<!--$Id: memp_fget.so,v 1.5 2003/10/18 19:16:18 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.3: memp_fget, EIO</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.3/conflict.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.3/txn_prepare.html"><img src="../../images/next.gif" alt="Next"></a>
14</td></tr></table>
15<p align=center><b>Release 3.3: memp_fget, EIO</b></p>
16<p>Previous releases of Berkeley DB returned the system error EIO when the
17memp_fget function was called to retrieve a page, the page did not
18exist, and the <a href="../../api_c/memp_fget.html#DB_MPOOL_CREATE">DB_MPOOL_CREATE</a> flag was not set.  In the 3.3
19release, the error <a href="../../api_c/memp_fget.html#DB_PAGE_NOTFOUND">DB_PAGE_NOTFOUND</a> is returned instead, to
20allow applications to distinguish between recoverable and
21non-recoverable errors.  Applications calling the memp_fget function
22and checking for a return of EIO should check for
23<a href="../../api_c/memp_fget.html#DB_PAGE_NOTFOUND">DB_PAGE_NOTFOUND</a> instead.</p>
24<p>Previous releases of Berkeley DB treated filesystem I/O failure (the most
25common of which the filesystem running out of space), as a fatal error,
26returning <a href="../../ref/program/errorret.html#DB_RUNRECOVERY">DB_RUNRECOVERY</a>.  When a filesystem failure happens in
27the 3.3 release Berkeley DB returns the underlying system error (usually EIO),
28but can continue to run.  Applications should abort any enclosing
29transaction when a recoverable system error occurs in order to recover
30from the error.</p>
31<table width="100%"><tr><td><br></td><td align=right><a href="../upgrade.3.3/conflict.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.3/txn_prepare.html"><img src="../../images/next.gif" alt="Next"></a>
32</td></tr></table>
33<p><font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
34</body>
35</html>
36