DbLockTab DbEnv::*get_lk_info() const;
Get/set the return value from the DbLockTab::open method, used if locking is required for the file being opened (as is the case when multiple processes or threads are accessing the same file). If no value is set, no locking is done by the Berkeley DB access methods.
If both locking and transactions are being performed, the transaction ID will be used as the locker ID. If only locking is being performed, Db::open will acquire a locker ID from DbLockTab::id and will use it for all locks required for this instance of Db::open.