From 674c98fa7d17311bae183632dd334ecc9f28ee9e Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 4 Apr 2006 19:48:22 +0000 Subject: [PATCH] honor stop on error --- servers/slapd/back-meta/search.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/servers/slapd/back-meta/search.c b/servers/slapd/back-meta/search.c index ae6da9dc58..60f68f0aa5 100644 --- a/servers/slapd/back-meta/search.c +++ b/servers/slapd/back-meta/search.c @@ -701,7 +701,9 @@ really_bad:; * the target enforced a limit lower * than what requested by the proxy; * ignore it */ - if ( rs->sr_nentries == op->ors_slimit ) { + if ( rs->sr_nentries == op->ors_slimit + || META_BACK_ONERR_STOP( mi ) ) + { savepriv = op->o_private; op->o_private = (void *)i; send_ldap_result( op, rs ); -- 2.39.5