From: Howard Chu Date: Tue, 15 Jan 2002 01:49:53 +0000 (+0000) Subject: Revert previous commit again. autosubtypes are gone for good. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~131 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d70498f0f232577c9aa4f4ca2207c15aa0d60ff2;p=openldap Revert previous commit again. autosubtypes are gone for good. --- diff --git a/servers/slapd/index.c b/servers/slapd/index.c index 786ccb388a..6d68292906 100644 --- a/servers/slapd/index.c +++ b/servers/slapd/index.c @@ -56,8 +56,6 @@ int slap_str2index( const char *str, slap_mask_t *idx ) *idx = SLAP_INDEX_NOLANG; } else if ( strcasecmp( str, "nosubtypes" ) == 0 ) { *idx = SLAP_INDEX_NOSUBTYPES; - } else if ( strcasecmp( str, "autosubtypes" ) == 0 ) { - *idx = SLAP_INDEX_AUTO_SUBTYPES; } else { return LDAP_OTHER; } diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index 68f8606419..cda6b28613 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -196,7 +196,6 @@ typedef struct slap_ssf_set { #define SLAP_INDEX_FLAGS 0xF000UL #define SLAP_INDEX_NOSUBTYPES 0x1000UL /* don't use index w/ subtypes */ #define SLAP_INDEX_NOLANG 0x2000UL /* don't use index w/ lang */ -#define SLAP_INDEX_AUTO_SUBTYPES 0x4000UL /* use mask with lang subtypes */ /* * there is a single index for each attribute. these prefixes ensure