#include "back-bdb.h"
-#define SLAP_BDB_ALLOW_DBNOTXN
#ifdef DB_DIRTY_READ
# define SLAP_BDB_ALLOW_DIRTY_READ
#endif
}
bdb->bi_dbenv_home = ch_strdup( argv[1] );
-#ifdef SLAP_BDB_ALLOW_DBNOTXN
- /* turn off transactions, use CDB mode instead */
- } else if ( strcasecmp( argv[0], "dbnotxn" ) == 0 ) {
- bdb->bi_txn = 0;
-#endif
#ifdef SLAP_BDB_ALLOW_DIRTY_READ
} else if ( strcasecmp( argv[0], "dirtyread" ) == 0 ) {
bdb->bi_db_opflags |= DB_DIRTY_READ;
}
bdb->bi_dbenv_mode = strtol( argv[1], NULL, 0 );
-#if BDB_FILTER_INDICES
/* attribute to index */
} else if ( strcasecmp( argv[0], "index" ) == 0 ) {
int rc;
rc = bdb_attr_index_config( bdb, fname, lineno, argc - 1, &argv[1] );
if( rc != LDAP_SUCCESS ) return 1;
-#endif
/* size of the cache in entries */
} else if ( strcasecmp( argv[0], "cachesize" ) == 0 ) {