https://bugs.openldap.org/show_bug.cgi?id=9349
--- Comment #6 from Howard Chu hyc@openldap.org --- (In reply to Gabriel Buades from comment #5)
Created attachment 766 [details] 0001-Performance-improvement-for-indexed-attributes-remov.patch
You are right. The compiler should not compile, but it simply issued a warning I didn't notice.
I hope this one will work.
Thanks in advance.
Thanks, that looks better, will test it out shortly.
But for your use case you should probably have used sortvals (see slapd.conf(5) or slapd-config(5)) as that would also improve performance of filter matchng, new value insertion, etc. etc.
Improving delete performance is nice, but using sortvals improves everything at once.