Remove bogus refusal to index ;binary attributes. Notice that I left

in a check.  This way you have to say:

	index userCertificate eq

If we remove it, we could say:

	index userCertificate;binary eq

I have not tried the latter.
This commit is contained in:
Julio Sánchez Fernández 2001-10-23 13:42:37 +00:00
parent 358950e8ad
commit aee598dba7
2 changed files with 0 additions and 16 deletions

View File

@ -24,9 +24,6 @@ static slap_mask_t index_mask(
AttributeType *at;
slap_mask_t mask = 0;
/* we do not support indexing of binary attributes */
if( slap_ad_is_binary( desc ) ) return 0;
bdb_attr_mask( be->be_private, desc->ad_cname.bv_val, &mask );
if( mask ) {
@ -340,11 +337,6 @@ int bdb_index_values(
char *dbname = NULL;
slap_mask_t mask;
if( slap_ad_is_binary( desc ) ) {
/* binary attributes have no index capabilities */
return LDAP_SUCCESS;
}
rc = index_at_values( be, txn,
desc->ad_type, &desc->ad_lang,
vals, id, op,

View File

@ -24,9 +24,6 @@ static slap_mask_t index_mask(
AttributeType *at;
slap_mask_t mask = 0;
/* we do not support indexing of binary attributes */
if( slap_ad_is_binary( desc ) ) return 0;
attr_mask( be->be_private, desc->ad_cname.bv_val, &mask );
if( mask ) {
@ -301,11 +298,6 @@ int index_values(
char *dbname = NULL;
slap_mask_t mask;
if( slap_ad_is_binary( desc ) ) {
/* binary attributes have no index capabilities */
return LDAP_SUCCESS;
}
(void) index_at_values( be,
desc->ad_type, &desc->ad_lang,
vals, id, op,