Trac

Ticket #873: Mssql.php.patch

File Mssql.php.patch, 0.6 kB (added by zomg, 6 months ago)

Patch for Doctrine/Transaction/Mssql.php

  • .

    old new  
    6565 
    6666        $this->conn->execute($query); 
    6767    } 
     68     
     69    protected function doBeginTransaction() 
     70    { 
     71        $this->conn->getDbh()->exec('BEGIN TRANSACTION'); 
     72    } 
     73     
     74    protected function doCommit() 
     75    { 
     76        $this->conn->getDbh()->exec('COMMIT TRANSACTION'); 
     77    } 
     78     
     79    protected function doRollback() 
     80    { 
     81        $this->conn->getDbh()->exec('ROLLBACK TRANSACTION'); 
     82    } 
    6883}