• 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.4.4/
1<!--$Id: clear.so,v 1.2 2005/12/13 16:47:06 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 4.4: DB_MPOOLFILE-&gt;set_clear_len</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.4.4/mutex.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade.4.4/lockstat.html"><img src="../../images/next.gif" alt="Next"></a>
14</td></tr></table>
15<p align=center><b>Release 4.4: DB_MPOOLFILE-&gt;set_clear_len</b></p>
16<p>The meaning of a 0 "clear length" argument to the
17<a href="../../api_c/memp_set_clear_len.html">DB_MPOOLFILE-&gt;set_clear_len</a> method changed in the Berkeley DB 4.4 release.   In
18previous releases, specifying a length of 0 was equivalent to the
19default, and the entire created page was cleared.  Unfortunately, this
20left no way to specify that no part of the page needed to be cleared.
21In the 4.4 release, specifying a "clear length" argument of 0 means that
22no part of the page need be cleared.</p>
23<p>Applications specifying a 0 "clear length" argument to the
24<a href="../../api_c/memp_set_clear_len.html">DB_MPOOLFILE-&gt;set_clear_len</a> method should simply remove the call, as the
25default behavior is to clear the entire created page.</p>
26<table width="100%"><tr><td><br></td><td align=right><a href="../upgrade.4.4/mutex.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade.4.4/lockstat.html"><img src="../../images/next.gif" alt="Next"></a>
27</td></tr></table>
28<p><font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
29</body>
30</html>
31