[PEAR-BUG] Req #18752 [Ver]: Performance problem retrieving search result + patch

[email protected]
Newsgroups php.pear.bugs
Message-ID <[email protected]>
Edit report at http://pear.php.net/bugs/bug.php?id=18752&edit=1

 ID:               18752
 Updated by:       [email protected]
 Reported By:      xavier dot montagutelli at unilim dot fr
 Summary:          Performance problem retrieving search result + patch
 Status:           Verified
 Type:             Feature/Change Request
 Package:          Net_LDAP2
 Operating System: GNU/Linux Debian
 Package Version:  2.0.11
 PHP Version:      5.3.0
 Assigned To:      beni
 Roadmap Versions: 
 New Comment:

Its in SVN now. Please test.


Previous Comments:
------------------------------------------------------------------------

[2011-08-24 07:48:29] beni

Added #patch
bug:18752;patch:Search.php_addCountCache.patch;revision:1314168509;.

------------------------------------------------------------------------

[2011-08-24 07:46:07] beni

ok, it looks like the pear svn is down currently, so the fix is not in.
i will add it as patch un til i can commit the change.

------------------------------------------------------------------------

[2011-08-24 07:45:26] beni

Confirmed this.
However this would involve an API change.

The better way is surely to cache the call to ldap_count_entries and
return the count from that cache.

I added a fix to count(). Please fetch the latest SVN version (revision
xxx) and verify that your bug is solved now.

Thanks for improving Net_LDAP2!

------------------------------------------------------------------------

[2011-08-24 07:24:40] beni

-Status:      Open
+Status:      Verified
-Assigned To:
+Assigned To: beni


------------------------------------------------------------------------

[2011-08-23 16:46:47] montagut

Added #patch
bug:18752;patch:Search.php-shiftEntry.patch;revision:1314114407;.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://pear.php.net/bugs/bug.php?id=18752

-- 
Edit this bug report at http://pear.php.net/bugs/bug.php?id=18752&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.