Berkeley DB Reference Guide:
Upgrading Berkeley DB Applications

PrevRefNext

Release 3.0: db_xa_open

The following change applies only to applications using Berkeley DB as an XA Resource Manager. If your application is not using Berkeley DB in this way, you can ignore this change.

The db_xa_open function has been replaced with the DB_XA_CREATE flag to the db_create function. All calls to db_xa_open should be replaced with calls to db_create with the DB_XA_CREATE flag set, followed by a call to the DB->open function.

A similar change has been made for the C++ API, where the DB_XA_CREATE flag should be specified to the Db constructor. All calls to the Db::xa_open method should be replaced with the DB_XA_CREATE flag to the Db constructor, followed by a call to the DB::open method.


PrevRefNext

Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.