ITS#8215 Use the correct transaction

This commit is contained in:
Ondřej Kuzník 2015-08-11 14:25:11 +02:00 committed by Howard Chu
parent f0f366ef5b
commit f1cd76db75

View file

@ -173,8 +173,8 @@ int mdb_tool_entry_close(
slapd_shutdown = 0;
ch_free( mdb_tool_index_rec );
mdb_tool_index_tcount = mdb_tool_threads - 1;
if (txn)
MDB_TOOL_IDL_FLUSH( be, txn );
if (mdb_tool_txn)
MDB_TOOL_IDL_FLUSH( be, mdb_tool_txn );
for (i=0; i<mdb_tool_threads; i++) {
mdb_tool_idl_cache *ic;
mdb_tool_idl_cache_entry *ice;