Page MenuHomePhabricator

D19479.diff
No OneTemporary

D19479.diff

diff --git a/src/infrastructure/storage/lisk/PhabricatorQueryIterator.php b/src/infrastructure/storage/lisk/PhabricatorQueryIterator.php
--- a/src/infrastructure/storage/lisk/PhabricatorQueryIterator.php
+++ b/src/infrastructure/storage/lisk/PhabricatorQueryIterator.php
@@ -29,7 +29,7 @@
// If we got less than a full page of results, this was the last set of
// results. Throw away the pager so we end iteration.
- if (count($results) < $pager->getPageSize()) {
+ if (!$pager->getHasMoreResults()) {
$this->pager = null;
} else {
$this->pager->setAfterID($pager->getNextPageID());

File Metadata

Mime Type
text/plain
Expires
Wed, May 22, 1:13 AM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6293770
Default Alt Text
D19479.diff (621 B)

Event Timeline