mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 23:59:34 -05:00
add a comment about reworking compare
This commit is contained in:
parent
b9bb1cd66a
commit
c1a845165e
1 changed files with 5 additions and 0 deletions
|
|
@ -592,6 +592,11 @@ dynlist_response( Operation *op, SlapReply *rs )
|
||||||
/* NOTE: we waste a few cycles running the dynamic list
|
/* NOTE: we waste a few cycles running the dynamic list
|
||||||
* also when the result is FALSE, which occurs if the
|
* also when the result is FALSE, which occurs if the
|
||||||
* dynamic entry itself contains the AVA attribute */
|
* dynamic entry itself contains the AVA attribute */
|
||||||
|
/* FIXME: this approach is less than optimal; a dedicated
|
||||||
|
* compare op should be implemented, that fetches the
|
||||||
|
* entry, checks if it has the appropriate objectClass
|
||||||
|
* and, in case, runs a compare thru all the URIs,
|
||||||
|
* stopping at the first positive occurrence; see ITS#3756 */
|
||||||
case LDAP_COMPARE_FALSE:
|
case LDAP_COMPARE_FALSE:
|
||||||
case LDAP_NO_SUCH_ATTRIBUTE:
|
case LDAP_NO_SUCH_ATTRIBUTE:
|
||||||
return dynlist_compare( op, rs );
|
return dynlist_compare( op, rs );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue