From b18ba481cf0707857c1d9f9f22c8465c1fa94cee Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 5 Jan 2006 21:22:50 +0000 Subject: [PATCH] re-fix ITS#4260 --- servers/slapd/back-bdb/config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb/config.c b/servers/slapd/back-bdb/config.c index 01de9ec201..dd7feee8d1 100644 --- a/servers/slapd/back-bdb/config.c +++ b/servers/slapd/back-bdb/config.c @@ -272,7 +272,9 @@ bdb_online_index( void *ctx, void *arg ) } for ( i = 0; i < bdb->bi_nattrs; i++ ) { - if ( bdb->bi_attrs[ i ]->ai_indexmask & BDB_INDEX_DELETING ) { + if ( bdb->bi_attrs[ i ]->ai_indexmask & BDB_INDEX_DELETING + || bdb->bi_attrs[ i ]->ai_newmask == 0 ) + { continue; } bdb->bi_attrs[ i ]->ai_indexmask = bdb->bi_attrs[ i ]->ai_newmask; -- 2.39.5