From ca1da5b89a9c57209a8fba88ec99008b4122c76f Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Fri, 9 May 2003 16:48:50 +0000 Subject: [PATCH] -reenabling LDAP_CACHING --- servers/slapd/back-meta/cache-search.c | 4 ++++ servers/slapd/slap.h | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.5