Skip to content

Commit d2e7e61

Browse files
Merge branch '4.4' into 5.3
* 4.4: [Cache] Fix saving items with no expiration through ProxyAdapter CS fixes [Cache] disable lock on CLI [VarDumper] add more "transient-on-macos" groups
2 parents 641240f + d3f8b79 commit d2e7e61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Session/Storage/Handler/PdoSessionHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ protected function doRead(string $sessionId)
646646
$selectStmt->bindParam(':id', $sessionId, \PDO::PARAM_STR);
647647
$insertStmt = null;
648648

649-
do {
649+
while (true) {
650650
$selectStmt->execute();
651651
$sessionRows = $selectStmt->fetchAll(\PDO::FETCH_NUM);
652652

@@ -695,7 +695,7 @@ protected function doRead(string $sessionId)
695695
}
696696

697697
return '';
698-
} while (true);
698+
}
699699
}
700700

701701
/**

0 commit comments

Comments
 (0)