modify plugin name

This commit is contained in:
2022-02-25 18:40:41 +08:00
parent 521bb2ee7f
commit 0900304c17
-5
View File
@@ -74,7 +74,6 @@ class PDO implements StopHeartbeatCheck
*/ */
public function inTransaction(): bool public function inTransaction(): bool
{ {
echo __FUNCTION__, $this->_transaction, PHP_EOL;
return $this->_transaction > 0; return $this->_transaction > 0;
} }
@@ -141,8 +140,6 @@ class PDO implements StopHeartbeatCheck
$this->_pdo()->beginTransaction(); $this->_pdo()->beginTransaction();
} }
$this->_transaction++; $this->_transaction++;
echo __FUNCTION__, $this->_transaction, PHP_EOL;
} }
@@ -151,7 +148,6 @@ class PDO implements StopHeartbeatCheck
*/ */
public function commit() public function commit()
{ {
echo __FUNCTION__, $this->_transaction, PHP_EOL;
$this->_transaction--; $this->_transaction--;
if ($this->_transaction == 0) { if ($this->_transaction == 0) {
$this->_pdo()->commit(); $this->_pdo()->commit();
@@ -164,7 +160,6 @@ class PDO implements StopHeartbeatCheck
*/ */
public function rollback() public function rollback()
{ {
echo __FUNCTION__, $this->_transaction, PHP_EOL;
$this->_transaction--; $this->_transaction--;
if ($this->_transaction == 0) { if ($this->_transaction == 0) {
$this->_pdo()->rollBack(); $this->_pdo()->rollBack();