From: Jong Hyuk Choi Date: Fri, 9 May 2003 16:48:50 +0000 (+0000) Subject: -reenabling LDAP_CACHING X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~155 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ca1da5b89a9c57209a8fba88ec99008b4122c76f;p=openldap -reenabling LDAP_CACHING --- diff --git a/servers/slapd/back-meta/cache-search.c b/servers/slapd/back-meta/cache-search.c index 88ab760039..8403278ad2 100644 --- a/servers/slapd/back-meta/cache-search.c +++ b/servers/slapd/back-meta/cache-search.c @@ -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 diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index 6b8fb8fa0d..ac054095db 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -37,9 +37,7 @@ #ifdef LDAP_DEVEL #define SLAP_EXTENDED_SCHEMA 1 -/* #define LDAP_CACHING -*/ #endif LDAP_BEGIN_DECL