示例#1
0
 /**
  * createSavepoint
  * creates a new savepoint
  *
  * @param string $savepoint     name of a savepoint to set
  * @return void
  */
 public function createSavepoint($savepoint)
 {
     if (!$this->_platform->supportsSavepoints()) {
         throw ConnectionException::savepointsNotSupported();
     }
     $this->_conn->exec($this->_platform->createSavePoint($savepoint));
 }