• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/docs/ref/upgrade.4.7/
1<!--$Id: log.so,v 1.3 2008/03/12 18:08:22 sarette 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.7: Log configuration</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.7/interdir.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.7/disk.html"><img src="../../images/next.gif" alt="Next"></a>
14</td></tr></table>
15<p align=center><b>Release 4.7: Log configuration</b></p>
16<p>In the Berkeley DB 4.7 release, the logging subsystem is configured using the
17<a href="../../api_c/env_log_set_config.html">DB_ENV-&gt;log_set_config</a> method instead of the previously used
18<a href="../../api_c/env_set_flags.html">DB_ENV-&gt;set_flags</a> method.</p>
19<p>The <a href="../../api_c/env_set_flags.html">DB_ENV-&gt;set_flags</a> method no longer accepts the flags DB_DIRECT_LOG,
20DB_DSYNC_LOG, DB_LOG_INMEMORY or DB_LOG_AUTOREMOVE.  Applications should
21be modified to use the equivalent flags accepted by the
22<a href="../../api_c/env_log_set_config.html">DB_ENV-&gt;log_set_config</a> method.</p>
23<table border=1 align=center>
24<tr><th>Previous <a href="../../api_c/env_set_flags.html">DB_ENV-&gt;set_flags</a> flag</th><th>Replacement <a href="../../api_c/env_log_set_config.html">DB_ENV-&gt;log_set_config</a> flag</th></tr>
25<tr><td>DB_DIRECT_LOG</td><td>DB_LOG_DIRECT</td></tr>
26<tr><td>DB_DSYNC_LOG</td><td>DB_LOG_DSYNC</td></tr>
27<tr><td>DB_LOG_INMEMORY</td><td>DB_LOG_IN_MEMORY</td></tr>
28<tr><td>DB_LOG_AUTOREMOVE</td><td>DB_LOG_AUTO_REMOVE</td></tr>
29</table>
30<table width="100%"><tr><td><br></td><td align=right><a href="../upgrade.4.7/interdir.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.7/disk.html"><img src="../../images/next.gif" alt="Next"></a>
31</td></tr></table>
32<p><font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
33</body>
34</html>
35