]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Mon, 12 Aug 2013 22:04:51 +0000 (15:04 -0700)
committerHoward Chu <hyc@openldap.org>
Mon, 12 Aug 2013 22:04:51 +0000 (15:04 -0700)
servers/slapd/back-mdb/tools.c

index 66af3b2781019446df6156e2b2451c6f6a188fd3..a5408b5bb19fafa6f7f286addc322d5a46082b6b 100644 (file)
@@ -145,6 +145,7 @@ int mdb_tool_entry_open(
 int mdb_tool_entry_close(
        BackendDB *be )
 {
+#ifdef MDB_TOOL_IDL_CACHING
        if ( mdb_tool_info ) {
                int i;
                slapd_shutdown = 1;
@@ -185,6 +186,7 @@ int mdb_tool_entry_close(
                        }
                }
        }
+#endif
 
        if( idcursor ) {
                mdb_cursor_close( idcursor );