public releaseSavepoint ( string $savepoint ) : void | ||
$savepoint | string | The name of the savepoint to release. |
return | void |
public function releaseSavepoint($savepoint)
{
if (!$this->getDatabasePlatform()->supportsSavepoints()) {
throw ConnectionException::savepointsNotSupported();
}
if ($this->platform->supportsReleaseSavepoints()) {
$this->_conn->exec($this->platform->releaseSavePoint($savepoint));
}
}
/** * {@inheritDoc} */ public function releaseSavepoint($savepoint) { $this->connect('master'); return parent::releaseSavepoint($savepoint); }