Skip to content

Commit 97bad03

Browse files
Merge branch '5.4' into 6.0
* 5.4: [5.4] cs fixes [5.3] cs fixes [Cache] Fix saving items with no expiration through ProxyAdapter CS fixes [HttpClient] Fix tracing requests made after calling withOptions() [Cache] disable lock on CLI Revert "feature #41989 [Cache] make `LockRegistry` use semaphores when possible (nicolas-grekas)" [HttpKernel] fix how configuring log-level and status-code by exception works [VarDumper] add more "transient-on-macos" groups
2 parents 4c55dff + 787a0ad commit 97bad03

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
@@ -582,7 +582,7 @@ protected function doRead(string $sessionId): string
582582
$selectStmt->bindParam(':id', $sessionId, \PDO::PARAM_STR);
583583
$insertStmt = null;
584584

585-
do {
585+
while (true) {
586586
$selectStmt->execute();
587587
$sessionRows = $selectStmt->fetchAll(\PDO::FETCH_NUM);
588588

@@ -628,7 +628,7 @@ protected function doRead(string $sessionId): string
628628
}
629629

630630
return '';
631-
} while (true);
631+
}
632632
}
633633

634634
/**

0 commit comments

Comments
 (0)