}
bv.bv_val = ca->cr_msg;
ca->be = &cm->db;
+ cm->defer_db_open = 0;
/* We can only create this entry if the database is table-driven
*/
Debug( LDAP_DEBUG_CONFIG, "%s: %s.\n", c->log, c->cr_msg, 0 );
return( 1 );
}
- if ( CONFIG_ONLINE_ADD( c ))
- cm->defer_db_open = 1;
cm->cc_period = (time_t)t;
Debug( pcache_debug,
cm->max_queries = 10000;
cm->save_queries = 0;
cm->response_cb = PCACHE_RESPONSE_CB_TAIL;
- cm->defer_db_open = 0;
+ cm->defer_db_open = 1;
cm->cc_period = 1000;
cm->cc_paused = 0;
cm->cc_arg = NULL;
}
bv.bv_val = ca->cr_msg;
ca->be = &ov->db;
+ ov->defer_db_open = 0;
/* We can only create this entry if the database is table-driven
*/
{
slap_overinst *on = (slap_overinst *) be->bd_info;
translucent_info *ov = on->on_bi.bi_private;
- int rc = SLAP_CONF_UNKNOWN;
Debug(LDAP_DEBUG_TRACE, "==> translucent_db_config: %s\n",
argc ? argv[0] : "", 0, 0);
/* Something for the captive database? */
- if ( ov->db.bd_info && ov->db.bd_info->bi_db_config ) {
- rc = ov->db.bd_info->bi_db_config( &ov->db, fname, lineno,
+ if ( ov->db.bd_info && ov->db.bd_info->bi_db_config )
+ return ov->db.bd_info->bi_db_config( &ov->db, fname, lineno,
argc, argv );
- if ( rc == 0 )
- ov->defer_db_open = 0;
- }
- return rc;
+ return SLAP_CONF_UNKNOWN;
}
/*