Add error reporting to db check

This commit is contained in:
Kurt Zeilenga 2001-06-07 16:43:23 +00:00
parent 08de32f87a
commit 43d5dc2e88
2 changed files with 225 additions and 219 deletions

View File

@ -346,7 +346,10 @@ main()
rc = db_env_create( &env, 0 );
if( rc ) return rc;
if( rc ) {
printf("BerkeleyDB: %s\n", db_strerror(rc) );
return rc;
}
#ifdef DB_CDB_ALLDB
rc = env->set_flags( env, DB_CDB_ALLDB, 1 );

439
configure vendored

File diff suppressed because it is too large Load Diff