adamwill / 389-ds-base

Forked from 389-ds-base 4 years ago
Clone

9b9d97c Trac Ticket #346 - Slow ldapmodify operation time for large quantities of multi-valued attribute values

9 files Authored by nhosoi 11 years ago, Committed by rmeggins 11 years ago,
    Trac Ticket #346 - Slow ldapmodify operation time for large quantities of multi-valued attribute values
    
    https://fedorahosted.org/389/ticket/346
    
    Fix description:
    1) Set SLAPI_ATTR_FLAG_NORMALIZED to a_flag for the already
       normalized dn values.  Then, let slapi_attr_value_find
       pass the flag to plugin_call_syntax_filter_ava, where
       dn normalization is skipped based on the knowledge.
    2) To avoid the confusion, rename value_normalize_value and
       valuearray_normalize_value to value_dn_normalize_value and
       valuearray_dn_normalize_value, respectively.
    3) In slapi_has8thBit, instead of checking the 8th bit one byte
       by one byte, check 4 bytes at one time.
    (cherry picked from commit c0151f78509c35250095da6e2785842337963008)
    (cherry picked from commit 89f13859bf753ab8fc858a5a005cdce920be2359)
    
        
file modified
+5 -1
file modified
+2 -2
file modified
+2 -1