From 4362654eb6d24daff99cfffcc2e37866b0d7e81e Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 30 Jul 2001 20:12:34 +0000 Subject: [PATCH] fixes another assert in case of subtle error (schema failure while applying rdn changes) --- servers/slapd/back-ldbm/modrdn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5