]> git.sur5r.net Git - openldap/commitdiff
fixes another assert in case of subtle error (schema failure while applying rdn changes)
authorPierangelo Masarati <ando@openldap.org>
Mon, 30 Jul 2001 20:12:34 +0000 (20:12 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 30 Jul 2001 20:12:34 +0000 (20:12 +0000)
servers/slapd/back-ldbm/modrdn.c

index 9c8fb07a146e51992289c9a82e8067f8b7fbba65..0e6d513a764d354d6ce8cc97b9359c1df4bd13c8 100644 (file)
@@ -600,6 +600,7 @@ ldbm_back_modrdn(
        }
 
        (void) cache_delete_entry( &li->li_cache, e );
+       rc = MUST_DESTROY;
 
        /* XXX: there is no going back! */
 
@@ -629,7 +630,6 @@ ldbm_back_modrdn(
            
            goto return_results;
        }
-       rc = MUST_DESTROY;
        
        (void) cache_update_entry( &li->li_cache, e );