DbEnv::log_put API Ref

#include <db_cxx.h>

int DbEnv::log_put(DbLsn *lsn, const Dbt *data, u_int32_t flags);


Description: DbEnv::log_put

The DbEnv::log_put method appends records to the log. The DbLsn of the put record is returned in the lsn parameter.

The DbEnv::log_put method either returns a non-zero error value or throws an exception that encapsulates a non-zero error value on failure, and returns 0 on success.

Parameters
data flags lsn

Errors

The DbEnv::log_flush method may fail and throw DbException, encapsulating one of the following non-zero errors, or return one of the following non-zero errors:


EINVAL


Class DbEnv, DbLogc, DbLsn
See Also Logging Subsystem and Related Methods

APIRef

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