Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix duplicated UUID detection when there are empty uuids
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Mar 8, 2022
commit 65a866556bf871f98ab6486dd104e758c06f039b
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ protected function getDuplicatedUuids(string $table): Generator {
->having($select->expr()->gt($select->func()->count('owncloud_name'), $select->createNamedParameter(1)));

$result = $select->executeQuery();
while ($uuid = $result->fetchOne()) {
while (($uuid = $result->fetchOne()) !== false) {
yield $uuid;
}
$result->closeCursor();
Expand Down