From bd9e1b772c788dfd4a8989c3bb89030f5aa7a0ef Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 30 Sep 2000 01:04:43 +0000 Subject: [PATCH] Fix no_threads build --- servers/slapd/back-bdb/init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/back-bdb/init.c b/servers/slapd/back-bdb/init.c index 2ef9ff4dd2..eec64e86e2 100644 --- a/servers/slapd/back-bdb/init.c +++ b/servers/slapd/back-bdb/init.c @@ -66,7 +66,9 @@ bdb_db_init( BackendDB *be ) bdb->bi_dbenv_xflags = 0; bdb->bi_dbenv_mode = DEFAULT_MODE; +#ifndef NO_THREADS bdb->bi_lock_detect = DB_LOCK_NORUN; +#endif be->be_private = bdb; return 0; -- 2.39.5