示例#1
0
 /**
  * releaseSavePoint
  * releases given savepoint
  *
  * @param string $savepoint     name of a savepoint to release
  * @return void
  */
 public function releaseSavepoint($savepoint)
 {
     if (!$this->_platform->supportsSavepoints()) {
         throw ConnectionException::savepointsNotSupported();
     }
     if ($this->_platform->supportsReleaseSavepoints()) {
         $this->_conn->exec($this->_platform->releaseSavePoint($savepoint));
     }
 }