DB_ENV->log_put API Ref

#include <db.h>

int DB_ENV->log_put(DB_ENV *env, DB_LSN *lsn, const DBT *data, u_int32_t flags);


Description: DB_ENV->log_put

The DB_ENV->log_put method appends records to the log. The DB_LSN of the put record is returned in the lsn parameter.

The DB_ENV->log_put method returns a non-zero error value on failure and 0 on success.

Parameters
data flags lsn

Errors

The DB_ENV->log_flush method may fail and return one of the following non-zero errors:


EINVAL


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

APIRef

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