DbEnv::log_unregister |
![]() ![]() |
#include <db_cxx.h>int DbEnv::log_unregister(int32_t fid);
The DbEnv::log_unregister method disassociates the file name to file identification number mapping for the file identification number specified by the fid parameter. The file identification number may then be reused.
The DbEnv::log_unregister 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.
In addition, the DbEnv::log_unregister method may fail and throw an exception or return a non-zero error for the following conditions:
In addition, the DbEnv::log_unregister method may fail and throw an exception or return a non-zero error for errors specified for other Berkeley DB and C library or system methods.
![]() ![]() |