typedef void * db_malloc(size_t);
typedef void * db_realloc(void *, size_t);
-#if 0
-static int
-bdb_open( BackendInfo *bi )
-{
- return 0;
-}
-
-static int
-bdb_destroy( BackendInfo *bi )
-{
- return 0;
-}
-
-static int
-bdb_close( BackendInfo *bi )
-{
- /* terminate the underlying database system */
- return 0;
-}
-#endif
-
static int
bdb_db_init( BackendDB *be )
{
flags = DB_INIT_MPOOL | DB_THREAD | DB_CREATE;
-if ( !( slapMode & SLAP_TOOL_QUICK ))
+ if ( !( slapMode & SLAP_TOOL_QUICK ))
flags |= DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_TXN;
#if 0
ldap_pvt_thread_mutex_unlock( &slapd_rq.rq_mutex );
}
- /* <insert> open (and create) index databases */
return 0;
}
bi->bi_op_unbind = 0;
-#if 0 /* DELETE ME */
- bi->bi_op_abandon = bdb_abandon;
- bi->bi_op_cancel = bdb_cancel;
-#endif
-
bi->bi_extended = bdb_extended;
bi->bi_chk_referrals = bdb_referrals;