Release 3.1: identical duplicate data items
Prev | Chapter 34. Upgrading Berkeley DB 3.0 applications to Berkeley DB 3.1 | Next

## Release 3.1: identical duplicate data items

In previous releases of Berkeley DB, it was not an error to store identical duplicate data items, or, for those that just like the way it sounds, duplicate duplicates. However, there were implementation bugs where storing duplicate duplicates could cause database corruption.

In this release, applications may store identical duplicate data items as long as the data items are unsorted. It is an error to attempt to store identical duplicate data items when duplicates are being stored in a sorted order. This restriction is expected to be lifted in a future release. See Duplicate data items for more information.

Prev | Up | Next
Release 3.1: DB->put | Home | Release 3.1: DB->stat