mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#9095 insert missing commit at end of slapindex processing
This commit is contained in:
parent
3be82f40d5
commit
4bc333c5e7
@ -217,6 +217,17 @@ int mdb_tool_entry_close(
|
||||
}
|
||||
mdb_tool_txn = NULL;
|
||||
}
|
||||
if( txi ) {
|
||||
int rc;
|
||||
if (( rc = mdb_txn_commit( txi ))) {
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
LDAP_XSTRING(mdb_tool_entry_close) ": database %s: "
|
||||
"txn_commit failed: %s (%d)\n",
|
||||
be->be_suffix[0].bv_val, mdb_strerror(rc), rc );
|
||||
return -1;
|
||||
}
|
||||
txi = NULL;
|
||||
}
|
||||
|
||||
if( nholes ) {
|
||||
unsigned i;
|
||||
|
Loading…
Reference in New Issue
Block a user