re-fix ITS#4260

This commit is contained in:
Pierangelo Masarati 2006-01-05 21:22:50 +00:00
parent 4a481a83d3
commit b18ba481cf

View File

@ -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;