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

Re: 2.2.9 rel eng breaks paged results (ITS#3085)



Problem could be that op->ors_slimit is not being initialized to the
default soft limit if paged results is requested and there is no
page results-specific limit set.

-- Luke

Index: limits.c
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/servers/slapd/limits.c,v
retrieving revision 1.30.2.7
diff -u -r1.30.2.7 limits.c
--- limits.c    14 Apr 2004 23:08:16 -0000      1.30.2.7
+++ limits.c    15 Apr 2004 06:33:09 -0000
@@ -1019,8 +1019,9 @@
                                /* use the standard hard/soft limit if any */
                                op->ors_slimit = op->ors_limit->lms_s_hard;
                        }
+               }
 
-               } else if ( op->ors_slimit == 0 ) {
+               if ( op->ors_slimit == 0 ) {
                        op->ors_slimit = op->ors_limit->lms_s_soft;
 
                } else {