DB_TXN->id

API Ref

#include <db.h>

u_int32_t DB_TXN->id(DB_TXN *tid);


Description: DB_TXN->id

The DB_TXN->id method returns the unique transaction id associated with the specified transaction. Locking calls made on behalf of this transaction should use the value returned from DB_TXN->id as the locker parameter to the DB_ENV->lock_get or DB_ENV->lock_vec calls.


Class

DB_ENV, DB_TXN

See Also

Transaction Subsystem and Related Methods

APIRef

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