DB_SEQUENCE->remove API Ref

#include <db.h>

int DB_SEQUENCE->remove(DB_SEQUENCE *seq, DB_TXN *txnid, u_int32_t flags);


Description: DB_SEQUENCE->remove

The DB_SEQUENCE->remove method removes the sequence from the database. This method should not be called if there are other open handles on this sequence.

The DB_SEQUENCE handle may not be accessed again after DB_SEQUENCE->remove is called, regardless of its return.

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

Parameters
flags txnid

Errors

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


EINVAL


Class DB_SEQUENCE
See Also Sequences and Related Methods

APIRef

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