Berkeley DB: DbEnv::log_compare
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++

# DbEnv::log_compare |

`

###

    #include <db_cxx.h>

    static int
    DbEnv::log_compare(const DbLsn *lsn0, const DbLsn *lsn1);

# Description

The DbEnv::log_compare method allows the caller to compare two DbLsn objects, returning 0 if they are equal, 1 if lsn0 is greater than lsn1, and -1 if lsn0 is less than lsn1.

# Class

DbEnv, DbLogc, DbLsn

# See Also

Logging Subsystem and Related Methods`

Copyright Sleepycat Software