]> git.sur5r.net Git - openldap/commitdiff
Don't return nextid.
authorKurt Zeilenga <kurt@openldap.org>
Fri, 22 Jan 1999 05:42:13 +0000 (05:42 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 22 Jan 1999 05:42:13 +0000 (05:42 +0000)
servers/slapd/back-ldbm/nextid.c

index 594e542a21778ce8930bddb46519519e73518998..ac899e05f779ad41c48da2c189500b10826c0579 100644 (file)
@@ -109,6 +109,7 @@ next_id( Backend *be )
 void
 next_id_return( Backend *be, ID id )
 {
+#ifdef NEXT_ID_RETURN
        struct ldbminfo *li = (struct ldbminfo *) be->be_private;
 
        pthread_mutex_lock( &li->li_nextid_mutex );
@@ -122,6 +123,7 @@ next_id_return( Backend *be, ID id )
        (void) next_id_write( be, li->li_nextid );
 
        pthread_mutex_unlock( &li->li_nextid_mutex );
+#endif
 }
 
 ID