#include <db_cxx.h> int Db::get_create_dir(const char **dirp);
Determine which directory a database file will be created in or was found in.
The Db::get_create_dir()
method may be called at any time.
The Db::get_create_dir()
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.
The dirp will be set to the directory specified in the call to Db::set_create_dir() method on this handle or to the directory that the database was found in after Db::open() has been called.
The Db::get_create_dir()
method may fail and throw a DbException
exception, encapsulating one of the following non-zero errors, or return one
of the following non-zero errors: