[Date Prev][Date Next] [Chronological] [Thread] [Top]

ITS#4600 slap_mods_check duplicate check

There *is* a bug here, as Nick pointed out in the first followup - 
slap_mods2entry does a redundant check for duplicates. All of the mods 
that get fed into this function have already been checked by 
slap_mods_check. So we're doing an n^2 check twice on every add, no 
wonder LDAPAdds are so slow...
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc
   OpenLDAP Core Team            http://www.openldap.org/project/