From: Howard Chu Date: Mon, 11 Jan 2010 22:14:15 +0000 (+0000) Subject: dn2id_lock is no longer needed X-Git-Tag: MIGRATION_CVS2GIT~714 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b8a1da95a2c29efb92c32ce2089628012233c41d;p=openldap dn2id_lock is no longer needed --- diff --git a/servers/slapd/back-bdb/dn2id.c b/servers/slapd/back-bdb/dn2id.c index 2d1748c328..7fd05d4507 100644 --- a/servers/slapd/back-bdb/dn2id.c +++ b/servers/slapd/back-bdb/dn2id.c @@ -23,6 +23,7 @@ #include "idl.h" #include "lutil.h" +#if 0 #define bdb_dn2id_lock BDB_SYMBOL(dn2id_lock) static int @@ -48,6 +49,9 @@ bdb_dn2id_lock( struct bdb_info *bdb, struct berval *dn, &lockobj, db_rw, lock); return rc; } +#else +#define bdb_dn2id_lock(a,b,c,d,e) 0 +#endif #ifndef BDB_HIER int