]> git.sur5r.net Git - openldap/commitdiff
-reenabling LDAP_CACHING
authorJong Hyuk Choi <jongchoi@openldap.org>
Fri, 9 May 2003 16:48:50 +0000 (16:48 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Fri, 9 May 2003 16:48:50 +0000 (16:48 +0000)
servers/slapd/back-meta/cache-search.c
servers/slapd/slap.h

index 88ab760039d9c1bf98720195e4e36d98e9f20190..8403278ad290940efa25b50785ea9f500c396942 100644 (file)
@@ -574,6 +574,7 @@ meta_back_cache_search(
                                mfilter = op->ors_filterstr;
                        }
 
+#if 0
                        /*
                         * Maps attributes in filter
                         */
@@ -590,6 +591,9 @@ meta_back_cache_search(
                        }
                        mfilter.bv_val = NULL;
                        mfilter.bv_len = 0;
+#else
+                       mapped_filter = (char *) mfilter.bv_val;
+#endif
 
                        /*
                         * Maps required attributes
index 6b8fb8fa0d9ad9ce3b8eea7336342f3677228002..ac054095db0255e30601064e080d68e1f4a3435f 100644 (file)
@@ -37,9 +37,7 @@
 
 #ifdef LDAP_DEVEL
 #define SLAP_EXTENDED_SCHEMA 1
-/*
 #define LDAP_CACHING
-*/
 #endif
 
 LDAP_BEGIN_DECL