Allow shutdown to interrupt the indexer

This commit is contained in:
Howard Chu 2005-04-21 19:23:33 +00:00
parent 5de908e7e1
commit 5bf5288be5

View File

@ -186,6 +186,9 @@ bdb_online_index( void *ctx, void *arg )
data.dlen = data.ulen = 0;
while ( 1 ) {
if ( slapd_shutdown )
break;
rc = TXN_BEGIN( bdb->bi_dbenv, NULL, &txn, bdb->bi_db_opflags );
if ( rc )
break;