modify plugin name

This commit is contained in:
2022-02-25 18:05:46 +08:00
parent 093d316605
commit dd6424b4ba
+2
View File
@@ -149,6 +149,7 @@ class PDO implements StopHeartbeatCheck
*/ */
public function commit() public function commit()
{ {
var_dump($this->_transaction);
if ($this->_transaction == 0) { if ($this->_transaction == 0) {
$this->_pdo()->commit(); $this->_pdo()->commit();
} }
@@ -161,6 +162,7 @@ class PDO implements StopHeartbeatCheck
*/ */
public function rollback() public function rollback()
{ {
var_dump($this->_transaction);
if ($this->_transaction == 0) { if ($this->_transaction == 0) {
$this->_pdo()->rollBack(); $this->_pdo()->rollBack();
} }