From: Pierangelo Masarati Date: Mon, 30 Jul 2001 20:12:34 +0000 (+0000) Subject: fixes another assert in case of subtle error (schema failure while applying rdn changes) X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1186 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4362654eb6d24daff99cfffcc2e37866b0d7e81e;p=openldap fixes another assert in case of subtle error (schema failure while applying rdn changes) --- diff --git a/servers/slapd/back-ldbm/modrdn.c b/servers/slapd/back-ldbm/modrdn.c index 9c8fb07a14..0e6d513a76 100644 --- a/servers/slapd/back-ldbm/modrdn.c +++ b/servers/slapd/back-ldbm/modrdn.c @@ -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 );