Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15396018
D19479.id46590.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
621 B
Referenced Files
None
Subscribers
None
D19479.id46590.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 17, 11:15 AM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7708298
Default Alt Text
D19479.id46590.diff (621 B)
Attached To
Mode
D19479: Fix loop in QueryIterator when row count is an exact multiple of page size
Attached
Detach File
Event Timeline
Log In to Comment