createSavepoint() public method

Creates a new savepoint.
public createSavepoint ( string $savepoint ) : void
$savepoint string The name of the savepoint to create.
return void
Ejemplo n.º 1
0
 protected function performCommit($identifier = NULL)
 {
     if ($identifier === NULL) {
         return $this->conn->commit();
     }
     $this->conn->createSavepoint($identifier);
 }
 /**
  * {@inheritDoc}
  */
 public function createSavepoint($savepoint)
 {
     $this->connect('master');
     return parent::createSavepoint($savepoint);
 }