Commit d10fc664 authored by Nadezhda Ivanova's avatar Nadezhda Ivanova Committed by Ondřej Kuzník
Browse files

ITS#8859 Enable backend configuration

parent 1f2caff7
......@@ -5519,6 +5519,11 @@ ok:
if ( coptr->co_type == Cft_Database ) {
rc = backend_startup_one( ca->be, &ca->reply );
} else if ( coptr->co_type == Cft_Backend ) {
if ( ca->bi->bi_open ) {
rc = ca->bi->bi_open( ca->bi );
}
} else if ( coptr->co_type == Cft_Overlay ) {
if ( ca->bi->bi_db_open ) {
BackendInfo *bi_orig = ca->be->bd_info;
......@@ -7227,6 +7232,10 @@ config_back_db_open( BackendDB *be, ConfigReply *cr )
if ( !e ) {
return -1;
}
if ( bi->bi_cf_ocs && bi->bi_cf_ocs->co_cfadd ) {
rs_reinit( &rs, REP_RESULT );
bi->bi_cf_ocs->co_cfadd( op, &rs, e, &c );
}
i++;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment