This commit is contained in:
2020-09-05 02:37:54 +08:00
parent 78c984b92e
commit 541786d192
+1 -1
View File
@@ -162,7 +162,7 @@ class Connection extends Pool
if (!(($client = $this->get($coroutineName)[1]) instanceof PDO)) { if (!(($client = $this->get($coroutineName)[1]) instanceof PDO)) {
throw new Exception('Connection pool overflow.'); throw new Exception('Connection pool overflow.');
} }
return $this->saveClient($coroutineName, $this->get($coroutineName)[1]); return $this->saveClient($coroutineName, $client);
} }