]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
import ITS#3481 from HEAD detect indexer deadlock
authorHoward Chu <hyc@openldap.org>
Wed, 12 Jan 2005 03:24:26 +0000 (03:24 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 12 Jan 2005 03:24:26 +0000 (03:24 +0000)
servers/slapd/back-bdb/index.c

index e1f09f6fdc9becf71b4a457e5fba1e38dea59e6c..7226c63179249fb61e1650ac91891a3a2521eae5 100644 (file)
@@ -247,7 +247,7 @@ static int indexer(
 
                if( rc == LDAP_SUCCESS && keys != NULL ) {
                        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 ) {
                                        ber_bvarray_free_x( keys, op->o_tmpmemctx );
                                        goto done;