From: Ondřej Kuzník Date: Tue, 11 Aug 2015 12:25:11 +0000 (+0200) Subject: ITS#8215 Use the correct transaction X-Git-Tag: OPENLDAP_REL_ENG_2_5_0ALPHA~125^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1cd76db757cacfc611bb54a840af8993978c3fd;p=thirdparty%2Fopenldap.git 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