log_compare API Ref

#include <db.h>

int log_compare(const DB_LSN *lsn0, const DB_LSN *lsn1);


Description: log_compare

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

Parameters
lsn0 lsn1


Class DB_ENV, DB_LOGC, DB_LSN
See Also Logging Subsystem and Related Methods

APIRef

Copyright (c) 1996,2008 Oracle. All rights reserved.