Commit e93c8f18 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

minor cleanup

parent d10250d9
...@@ -67,7 +67,7 @@ static ConfigTable bdbcfg[] = { ...@@ -67,7 +67,7 @@ static ConfigTable bdbcfg[] = {
{ "dbconfig", "DB_CONFIG setting", 1, 0, 0, ARG_MAGIC|BDB_CONFIG, { "dbconfig", "DB_CONFIG setting", 1, 0, 0, ARG_MAGIC|BDB_CONFIG,
bdb_cf_gen, "( OLcfgDbAt:1.3 NAME 'olcDbConfig' " bdb_cf_gen, "( OLcfgDbAt:1.3 NAME 'olcDbConfig' "
"DESC 'BerkeleyDB DB_CONFIG configuration directives' " "DESC 'BerkeleyDB DB_CONFIG configuration directives' "
"SYNTAX OMsDirectoryString X-ORDERED 'VALUES' )",NULL, NULL }, "SYNTAX OMsDirectoryString X-ORDERED 'VALUES' )", NULL, NULL },
{ "dbnosync", NULL, 1, 2, 0, ARG_ON_OFF|ARG_MAGIC|BDB_NOSYNC, { "dbnosync", NULL, 1, 2, 0, ARG_ON_OFF|ARG_MAGIC|BDB_NOSYNC,
bdb_cf_gen, "( OLcfgDbAt:1.4 NAME 'olcDbNoSync' " bdb_cf_gen, "( OLcfgDbAt:1.4 NAME 'olcDbNoSync' "
"DESC 'Disable synchronous database writes' " "DESC 'Disable synchronous database writes' "
......
...@@ -833,7 +833,7 @@ fetch_entry_retry: ...@@ -833,7 +833,7 @@ fetch_entry_retry:
if ( rs->sr_err == LDAP_COMPARE_TRUE ) { if ( rs->sr_err == LDAP_COMPARE_TRUE ) {
/* check size limit */ /* check size limit */
if ( --op->ors_slimit == -1) { if ( --op->ors_slimit == -1 ) {
#ifdef SLAP_ZONE_ALLOC #ifdef SLAP_ZONE_ALLOC
slap_zn_runlock(bdb->bi_cache.c_zctx, e); slap_zn_runlock(bdb->bi_cache.c_zctx, e);
#endif #endif
......
Supports Markdown
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