コード例 #1
0
ファイル: PDO.php プロジェクト: sinasalek/pdoplus
 public function commit()
 {
     $this->transLevel--;
     if (!$this->nestable() || $this->transLevel == 0) {
         parent::commit();
     } else {
         $this->exec("RELEASE SAVEPOINT LEVEL{$this->transLevel}");
     }
 }