From: Ondřej Kuzník Date: Tue, 11 Aug 2015 12:25:11 +0000 (+0200) Subject: ITS#8215 Use the correct transaction X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f1cd76db757cacfc611bb54a840af8993978c3fd;p=openldap ITS#8215 Use the correct transaction --- 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