mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Check for db_init failures
This commit is contained in:
parent
cd23b2ddf4
commit
4e5407a096
@ -659,9 +659,11 @@ overlay_config( BackendDB *be, const char *ov )
|
||||
|
||||
/* Any initialization needed? */
|
||||
if ( on->on_bi.bi_db_init ) {
|
||||
int rc;
|
||||
be->bd_info = (BackendInfo *)on2;
|
||||
on2->on_bi.bi_db_init( be );
|
||||
rc = on2->on_bi.bi_db_init( be );
|
||||
be->bd_info = (BackendInfo *)oi;
|
||||
if ( rc ) return rc;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user