From f1cd76db757cacfc611bb54a840af8993978c3fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= Date: Tue, 11 Aug 2015 14:25:11 +0200 Subject: [PATCH] ITS#8215 Use the correct transaction --- servers/slapd/back-mdb/tools.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-mdb/tools.c b/servers/slapd/back-mdb/tools.c index d7b96dc45c..f0392ecb81 100644 --- a/servers/slapd/back-mdb/tools.c +++ b/servers/slapd/back-mdb/tools.c @@ -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