rollbackSavepoint() public method

Rolls back to the given savepoint.
public rollbackSavepoint ( string $savepoint ) : void
$savepoint string The name of the savepoint to rollback to.
return void
示例#1
0
 protected function performRollBack($identifier = NULL)
 {
     if ($identifier === NULL) {
         return $this->conn->rollBack();
     }
     $this->conn->rollbackSavepoint($identifier);
 }
 /**
  * {@inheritDoc}
  */
 public function rollbackSavepoint($savepoint)
 {
     $this->connect('master');
     return parent::rollbackSavepoint($savepoint);
 }