Commit f6a63b8f authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#9095 insert missing commit at end of slapindex processing

parent 761c12c6
......@@ -194,6 +194,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;
......
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