mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
re-fix ITS#4260
This commit is contained in:
parent
4a481a83d3
commit
b18ba481cf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user