mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-04 20:58:13 +08:00
Fixed bug for mysql connection work not expect in not-coroutine.
This commit is contained in:
parent
209b28cd43
commit
c4ff83309f
@ -49,7 +49,7 @@ class Context
|
|||||||
$connection = $connections[$name];
|
$connection = $connections[$name];
|
||||||
if (! $connection instanceof PoolConnectionInterface) {
|
if (! $connection instanceof PoolConnectionInterface) {
|
||||||
$this->logger->warning(sprintf(
|
$this->logger->warning(sprintf(
|
||||||
'Connection[] is not instanceof %s',
|
'Connection[%s] is not instanceof %s',
|
||||||
get_class($connection),
|
get_class($connection),
|
||||||
PoolConnectionInterface::class
|
PoolConnectionInterface::class
|
||||||
));
|
));
|
||||||
|
Loading…
Reference in New Issue
Block a user