]> git.sur5r.net Git - openldap/commitdiff
dn2id_lock is no longer needed
authorHoward Chu <hyc@openldap.org>
Mon, 11 Jan 2010 22:14:15 +0000 (22:14 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 11 Jan 2010 22:14:15 +0000 (22:14 +0000)
servers/slapd/back-bdb/dn2id.c

index 2d1748c328585fa5ead21ab0487519e911e4155d..7fd05d450771999f422fe9f109057f586fbfdc48 100644 (file)
@@ -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