This commit is contained in:
2022-09-19 18:24:12 +08:00
parent 91cc3c0613
commit 17c8d45349
2 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ class Command extends Component
} catch (\Throwable $exception) {
$result = $this->logger->addError($this->sql . '. error: ' . $exception->getMessage(), 'mysql');
} finally {
$this->db->release($pdo);
$this->db->release($pdo, true);
return $result;
}
}