• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/db-4.8.30/docs/programmer_reference/
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.1: identical duplicate data items</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_1_toc.html" title="Chapter 34. Upgrading Berkeley DB 3.0 applications to Berkeley DB 3.1" />
11    <link rel="prev" href="upgrade_3_1_put.html" title="Release 3.1: DB-&gt;put" />
12    <link rel="next" href="upgrade_3_1_btstat.html" title="Release 3.1: DB-&gt;stat" />
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.1: identical duplicate data items</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="upgrade_3_1_put.html">Prev</a> </td>
22          <th width="60%" align="center">Chapter 34. Upgrading Berkeley DB 3.0 applications to Berkeley DB 3.1</th>
23          <td width="20%" align="right"> <a accesskey="n" href="upgrade_3_1_btstat.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_1_dup"></a>Release 3.1: identical duplicate data items</h2>
33          </div>
34        </div>
35      </div>
36      <p>In previous releases of Berkeley DB, it was not an error to store identical
37duplicate data items, or, for those that just like the way it sounds,
38duplicate duplicates.  However, there were implementation bugs where
39storing duplicate duplicates could cause database corruption.</p>
40      <p>In this release, applications may store identical duplicate data items
41as long as the data items are unsorted.  It is an error to attempt to
42store identical duplicate data items when duplicates are being stored
43in a sorted order. This restriction is expected to be lifted in a future
44release.  See <a class="xref" href="general_am_conf.html#am_conf_dup" title="Duplicate data items">Duplicate data items</a>
45for more information.</p>
46    </div>
47    <div class="navfooter">
48      <hr />
49      <table width="100%" summary="Navigation footer">
50        <tr>
51          <td width="40%" align="left"><a accesskey="p" href="upgrade_3_1_put.html">Prev</a> </td>
52          <td width="20%" align="center">
53            <a accesskey="u" href="upgrade_3_1_toc.html">Up</a>
54          </td>
55          <td width="40%" align="right"> <a accesskey="n" href="upgrade_3_1_btstat.html">Next</a></td>
56        </tr>
57        <tr>
58          <td width="40%" align="left" valign="top">Release 3.1: DB-&gt;put </td>
59          <td width="20%" align="center">
60            <a accesskey="h" href="index.html">Home</a>
61          </td>
62          <td width="40%" align="right" valign="top"> Release 3.1: DB-&gt;stat</td>
63        </tr>
64      </table>
65    </div>
66  </body>
67</html>
68