]> git.sur5r.net Git - openldap/commitdiff
handle empty parent (related to ITS#4171)
authorPierangelo Masarati <ando@openldap.org>
Mon, 14 Nov 2005 18:21:55 +0000 (18:21 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 14 Nov 2005 18:21:55 +0000 (18:21 +0000)
servers/slapd/back-bdb/modify.c

index 08d0a5d8c7c114b798c751dbc4a9e56490f13f44..22b1f96901d39e758a3f370aa49b8af3a5347ee5 100644 (file)
@@ -381,7 +381,9 @@ retry:      /* transaction retry */
                }
        }
 
-       e = ei->bei_e;
+       if ( !fakeroot ) {
+               e = ei->bei_e;
+       }
 
        /* acquire and lock entry */
        /* FIXME: dn2entry() should return non-glue entry */