modify plugin name
This commit is contained in:
+2
-3
@@ -136,7 +136,6 @@ class PDO implements StopHeartbeatCheck
|
|||||||
*/
|
*/
|
||||||
public function beginTransaction()
|
public function beginTransaction()
|
||||||
{
|
{
|
||||||
var_dump($this->_transaction);
|
|
||||||
if ($this->_transaction == 0) {
|
if ($this->_transaction == 0) {
|
||||||
$this->_pdo()->beginTransaction();
|
$this->_pdo()->beginTransaction();
|
||||||
}
|
}
|
||||||
@@ -149,7 +148,7 @@ class PDO implements StopHeartbeatCheck
|
|||||||
*/
|
*/
|
||||||
public function commit()
|
public function commit()
|
||||||
{
|
{
|
||||||
var_dump($this->_transaction);
|
echo __FUNCTION__, $this->_transaction, PHP_EOL;
|
||||||
$this->_transaction--;
|
$this->_transaction--;
|
||||||
if ($this->_transaction == 0) {
|
if ($this->_transaction == 0) {
|
||||||
$this->_pdo()->commit();
|
$this->_pdo()->commit();
|
||||||
@@ -162,7 +161,7 @@ class PDO implements StopHeartbeatCheck
|
|||||||
*/
|
*/
|
||||||
public function rollback()
|
public function rollback()
|
||||||
{
|
{
|
||||||
var_dump($this->_transaction);
|
echo __FUNCTION__, $this->_transaction, PHP_EOL;
|
||||||
$this->_transaction--;
|
$this->_transaction--;
|
||||||
if ($this->_transaction == 0) {
|
if ($this->_transaction == 0) {
|
||||||
$this->_pdo()->rollBack();
|
$this->_pdo()->rollBack();
|
||||||
|
|||||||
Reference in New Issue
Block a user