Skip to content
Snippets Groups Projects
Commit aee598db authored by Julio Sánchez Fernández's avatar Julio Sánchez Fernández
Browse files

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.
parent 358950e8
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment