Berkeley DB Reference Version 5.3.33

Chapter 9. Upgrading Berkeley DB 4.0 applications to Berkeley DB 4.1

Table of Contents

Introduction

DB_EXCL

DB->associate, DB->open, DB->remove, DB->rename

DB_ENV->log_register

st_flushcommit

DB_CHECKPOINT, DB_CURLSN

DB_INCOMPLETE

DB_ENV->memp_sync

DB->stat.hash_nelem

Java exceptions

C++ exceptions

Application-specific logging and recovery

Upgrade Requirements

Berkeley DB 4.1.24 and 4.1.25 Change Log

Database or Log File On-Disk Format Changes:

Major New Features:

General Environment Changes:

General Access Method Changes:

Btree Access Method Changes:

Hash Access Method Changes:

Queue Access Method Changes:

Recno Access Method Changes:

C++-specific API Changes:

Java-specific API Changes:

Tcl-specific API Changes:

RPC-specific Client/Server Changes:

Replication Changes:

XA Resource Manager Changes:

Locking Subsystem Changes:

Logging Subsystem Changes:

Memory Pool Subsystem Changes:

Transaction Subsystem Changes:

Utility Changes:

Configuration, Documentation, Portability and Build Changes:

Berkeley DB 4.1.25 Change Log

Introduction

The following pages describe how to upgrade applications coded against the Berkeley DB 4.0 release interfaces to the Berkeley DB 4.1 release interfaces. This information does not describe how to upgrade Berkeley DB 1.85 release applications.