ITS#9660 back-mdb: make startup fail msg less specific

This commit is contained in:
Howard Chu 2023-11-09 17:10:31 +00:00
parent 722a7b9891
commit f0c7427ba3

View file

@ -182,7 +182,7 @@ mdb_db_open( BackendDB *be, ConfigReply *cr )
if ( rc ) { if ( rc ) {
Debug( LDAP_DEBUG_ANY, Debug( LDAP_DEBUG_ANY,
LDAP_XSTRING(mdb_db_open) ": database \"%s\" cannot be opened: %s (%d). " LDAP_XSTRING(mdb_db_open) ": database \"%s\" cannot be opened: %s (%d). "
"Restore from backup!\n", "Administrator intervention needed!\n",
be->be_suffix[0].bv_val, mdb_strerror(rc), rc ); be->be_suffix[0].bv_val, mdb_strerror(rc), rc );
goto fail; goto fail;
} }
@ -191,7 +191,7 @@ mdb_db_open( BackendDB *be, ConfigReply *cr )
if ( rc ) { if ( rc ) {
Debug( LDAP_DEBUG_ANY, Debug( LDAP_DEBUG_ANY,
LDAP_XSTRING(mdb_db_open) ": database \"%s\" cannot be opened: %s (%d). " LDAP_XSTRING(mdb_db_open) ": database \"%s\" cannot be opened: %s (%d). "
"Restore from backup!\n", "Administrator intervention needed!\n",
be->be_suffix[0].bv_val, mdb_strerror(rc), rc ); be->be_suffix[0].bv_val, mdb_strerror(rc), rc );
goto fail; goto fail;
} }