modify plugin name

This commit is contained in:
2022-02-24 15:24:28 +08:00
parent 453481abdb
commit 4aff922c83
2 changed files with 15 additions and 86 deletions
+2 -2
View File
@@ -151,7 +151,7 @@ class Command extends Component
} catch (\Throwable $exception) {
$result = $this->logger->addError($this->sql . '. error: ' . $exception->getMessage(), 'mysql');
} finally {
$this->db->release();
$this->db->release($pdo, true);
return $result;
}
}
@@ -170,7 +170,7 @@ class Command extends Component
} catch (\Throwable $throwable) {
$data = $this->logger->addError($this->sql . '. error: ' . $throwable->getMessage(), 'mysql');
} finally {
$this->db->release();
$this->db->release($pdo, false);
return $data;
}
}