コード例 #1
0
ファイル: MysqlSource.php プロジェクト: eserozvataf/scabbia1
 /**
  * @ignore
  */
 public function rollBack()
 {
     $this->connection->rollback();
     parent::rollBack();
 }
コード例 #2
0
ファイル: PdoSource.php プロジェクト: eserozvataf/scabbia1
 /**
  * @ignore
  */
 public function rollBack()
 {
     if ($this->transactionLevel === 1) {
         $this->connection->rollBack();
     } else {
         $this->connection->exec('ROLLBACK TO SAVEPOINT LEVEL' . $this->transactionLevel);
     }
     parent::rollBack();
 }