Commit 302eddf3 authored by Howard Chu's avatar Howard Chu
Browse files

import ITS#3481 from HEAD detect indexer deadlock

parent 1e0bc486
...@@ -247,7 +247,7 @@ static int indexer( ...@@ -247,7 +247,7 @@ static int indexer(
if( rc == LDAP_SUCCESS && keys != NULL ) { if( rc == LDAP_SUCCESS && keys != NULL ) {
for( i=0; keys[i].bv_val != NULL; i++ ) { for( i=0; keys[i].bv_val != NULL; i++ ) {
bdb_key_change( op->o_bd, db, txn, &keys[i], id, opid ); rc = bdb_key_change( op->o_bd, db, txn, &keys[i], id, opid );
if( rc ) { if( rc ) {
ber_bvarray_free_x( keys, op->o_tmpmemctx ); ber_bvarray_free_x( keys, op->o_tmpmemctx );
goto done; goto done;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment