head 1.2;
access;
symbols
RPM_4_2_1:1.1.1.5
RPM_4_2:1.1.1.5
RPM_4_1_1:1.1.1.5
RPM_4_1:1.1.1.4
RPM_4_0_5:1.1.1.3
RPM_4_0_4:1.1.1.2
RPM_4_0_3:1.1.1.1
RPM:1.1.1;
locks; strict;
comment @# @;
1.2
date 2008.01.02.09.56.20; author rse; state dead;
branches;
next 1.1;
commitid z4cpSiAhOCXk5PLs;
1.1
date 2001.07.23.20.45.38; author rse; state Exp;
branches
1.1.1.1;
next ;
1.1.1.1
date 2001.07.23.20.45.38; author rse; state Exp;
branches;
next 1.1.1.2;
1.1.1.2
date 2002.01.08.00.30.13; author rse; state Exp;
branches;
next 1.1.1.3;
1.1.1.3
date 2003.01.18.13.49.04; author rse; state Exp;
branches;
next 1.1.1.4;
1.1.1.4
date 2001.10.15.03.47.35; author rse; state Exp;
branches;
next 1.1.1.5;
1.1.1.5
date 2003.01.18.14.05.00; author rse; state Exp;
branches;
next ;
desc
@@
1.2
log
@remove the ancient RPM 4.2.1 source tree copy
@
text
@
Berkeley DB Reference Guide: Release 3.3: DB->set_malloc, DB->set_realloc
- Berkeley DB Reference Guide:
- Upgrading Berkeley DB Applications
|
 
|
Release 3.3: DB->set_malloc, DB->set_realloc
There are two new interfaces in the Berkeley DB 3.3 release:
DB_ENV->set_alloc and DB->set_alloc. These functions
allow applications to specify a set of allocation functions for the
Berkeley DB library to use when allocating memory to be owned by the
application and when freeing memory that was originally allocated by
the application.
The new interfaces affect or replace the following historic
interfaces:
- DB->set_malloc
- The DB->set_malloc interface has been replaced in its entirety.
Applications using this interface should replace the call with a call
to DB->set_alloc.
- DB->set_realloc
- The DB->set_realloc interface has been replaced in its entirety.
Applications using this interface should replace the call with a call
to DB->set_alloc.
- DB->stat
- The historic db_malloc argument to the DB->stat function has
been replaced. Applications using this interface should do as follows:
if the argument is NULL, it should simply be removed. If non-NULL,
it should be replaced with a call to DB->set_alloc.
- lock_stat
- The historic db_malloc argument to the lock_stat function has
been replaced. Applications using this interface should do as follows:
if the argument is NULL, it should simply be removed. If
non-NULL, it should be replaced with a call to DB_ENV->set_alloc.
- log_archive
- The historic db_malloc argument to the log_archive function has
been replaced. Applications using this interface should do as follows:
if the argument is NULL, it should simply be removed. If non-NULL,
it should be replaced with a call to DB_ENV->set_alloc.
- log_stat
- The historic db_malloc argument to the log_stat function has
been replaced. Applications using this interface should do as follows:
if the argument is NULL, it should simply be removed. If non-NULL,
it should be replaced with a call to DB_ENV->set_alloc.
- memp_stat
- The historic db_malloc argument to the memp_stat function has
been replaced. Applications using this interface should do as follows:
if the argument is NULL, it should simply be removed. If non-NULL,
it should be replaced with a call to DB_ENV->set_alloc.
- txn_stat
- The historic db_malloc argument to the txn_stat function has
been replaced. Applications using this interface should do as follows:
if the argument is NULL, it should simply be removed. If non-NULL,
it should be replaced with a call to DB_ENV->set_alloc.
Copyright Sleepycat Software
@
1.1
log
@Initial revision
@
text
@d1 1
a1 1
@
1.1.1.1
log
@Import: RPM 4.0.3
@
text
@@
1.1.1.2
log
@Import: RPM 4.0.4
@
text
@d1 1
a1 1
d36 1
a36 1
lock_statThe historic db_malloc argument to the lock_stat interface has
d40 1
a40 1
log_archiveThe historic db_malloc argument to the log_archive interface has
d44 1
a44 1
log_statThe historic db_malloc argument to the log_stat interface has
d48 1
a48 1
memp_statThe historic db_malloc argument to the memp_stat function has
d52 1
a52 1
txn_statThe historic db_malloc argument to the txn_stat function has
a56 5
One potential incompatibility for historic applications is that the
allocation functions for a database environment must now be set before
the environment is opened. Historically, Berkeley DB applications could open
the environment first, and subsequently call the DB->set_malloc
and DB->set_realloc interfaces; that use is no longer supported.
@
1.1.1.3
log
@Import: RPM 4.0.5
@
text
@d2 1
a2 1
a3 1
d32 1
a32 1
DB->statThe historic db_malloc argument to the DB->stat method has
@
1.1.1.4
log
@Import: RPM 4.1
@
text
@d2 1
a2 1
d4 1
d33 1
a33 1
DB->statThe historic db_malloc argument to the DB->stat function has
@
1.1.1.5
log
@Import: RPM 4.1.1
@
text
@d2 1
a2 1
a3 1
d32 1
a32 1
DB->statThe historic db_malloc argument to the DB->stat method has
@