From 453481abdbbd5fc9b4d0879406e02ab8f64021de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 24 Feb 2022 11:34:53 +0800 Subject: [PATCH] modify plugin name --- Command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command.php b/Command.php index 2539250..6996b26 100644 --- a/Command.php +++ b/Command.php @@ -170,7 +170,7 @@ class Command extends Component } catch (\Throwable $throwable) { $data = $this->logger->addError($this->sql . '. error: ' . $throwable->getMessage(), 'mysql'); } finally { - $this->db->releaseSlaveConnect($pdo); + $this->db->release(); return $data; } }