e
This commit is contained in:
@@ -239,6 +239,9 @@ class PDO
|
|||||||
*/
|
*/
|
||||||
public function _pdo(): \PDO
|
public function _pdo(): \PDO
|
||||||
{
|
{
|
||||||
|
if ($this->_timer === -1) {
|
||||||
|
$this->heartbeat_check();
|
||||||
|
}
|
||||||
if (!($this->pdo instanceof \PDO)) {
|
if (!($this->pdo instanceof \PDO)) {
|
||||||
$this->pdo = $this->newClient();
|
$this->pdo = $this->newClient();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user