This commit is contained in:
parent
be0143985e
commit
707f801509
@ -41,7 +41,7 @@ class Doctrine_Transaction_Firebird extends Doctrine_Transaction
|
|||||||
*/
|
*/
|
||||||
protected function createSavePoint($savepoint)
|
protected function createSavePoint($savepoint)
|
||||||
{
|
{
|
||||||
$query = 'SAVEPOINT '.$savepoint;
|
$query = 'SAVEPOINT ' . $savepoint;
|
||||||
|
|
||||||
return $this->conn->execute($query);
|
return $this->conn->execute($query);
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ class Doctrine_Transaction_Firebird extends Doctrine_Transaction
|
|||||||
*/
|
*/
|
||||||
protected function releaseSavePoint($savepoint)
|
protected function releaseSavePoint($savepoint)
|
||||||
{
|
{
|
||||||
$query = 'RELEASE SAVEPOINT '.$savepoint;
|
$query = 'RELEASE SAVEPOINT ' . $savepoint;
|
||||||
|
|
||||||
return $this->conn->execute($query);
|
return $this->conn->execute($query);
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ class Doctrine_Transaction_Mysql extends Doctrine_Transaction
|
|||||||
*/
|
*/
|
||||||
protected function createSavePoint($savepoint)
|
protected function createSavePoint($savepoint)
|
||||||
{
|
{
|
||||||
$query = 'SAVEPOINT '.$savepoint;
|
$query = 'SAVEPOINT ' . $savepoint;
|
||||||
|
|
||||||
return $this->conn->execute($query);
|
return $this->conn->execute($query);
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ class Doctrine_Transaction_Mysql extends Doctrine_Transaction
|
|||||||
*/
|
*/
|
||||||
protected function releaseSavePoint($savepoint)
|
protected function releaseSavePoint($savepoint)
|
||||||
{
|
{
|
||||||
$query = 'RELEASE SAVEPOINT '.$savepoint;
|
$query = 'RELEASE SAVEPOINT ' . $savepoint;
|
||||||
|
|
||||||
return $this->conn->execute($query);
|
return $this->conn->execute($query);
|
||||||
}
|
}
|
||||||
@ -67,7 +67,7 @@ class Doctrine_Transaction_Mysql extends Doctrine_Transaction
|
|||||||
*/
|
*/
|
||||||
protected function rollbackSavePoint($savepoint)
|
protected function rollbackSavePoint($savepoint)
|
||||||
{
|
{
|
||||||
$query = 'ROLLBACK TO SAVEPOINT '.$savepoint;
|
$query = 'ROLLBACK TO SAVEPOINT ' . $savepoint;
|
||||||
|
|
||||||
return $this->conn->execute($query);
|
return $this->conn->execute($query);
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,7 @@ class Doctrine_Transaction_Pgsql extends Doctrine_Transaction
|
|||||||
*/
|
*/
|
||||||
protected function createSavePoint($savepoint)
|
protected function createSavePoint($savepoint)
|
||||||
{
|
{
|
||||||
$query = 'SAVEPOINT '.$savepoint;
|
$query = 'SAVEPOINT ' . $savepoint;
|
||||||
|
|
||||||
return $this->conn->execute($query);
|
return $this->conn->execute($query);
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ class Doctrine_Transaction_Pgsql extends Doctrine_Transaction
|
|||||||
*/
|
*/
|
||||||
protected function releaseSavePoint($savepoint)
|
protected function releaseSavePoint($savepoint)
|
||||||
{
|
{
|
||||||
$query = 'RELEASE SAVEPOINT '.$savepoint;
|
$query = 'RELEASE SAVEPOINT ' . $savepoint;
|
||||||
|
|
||||||
return $this->conn->execute($query);
|
return $this->conn->execute($query);
|
||||||
}
|
}
|
||||||
@ -68,7 +68,7 @@ class Doctrine_Transaction_Pgsql extends Doctrine_Transaction
|
|||||||
*/
|
*/
|
||||||
protected function rollbackSavePoint($savepoint)
|
protected function rollbackSavePoint($savepoint)
|
||||||
{
|
{
|
||||||
$query = 'ROLLBACK TO SAVEPOINT '.$savepoint;
|
$query = 'ROLLBACK TO SAVEPOINT ' . $savepoint;
|
||||||
|
|
||||||
return $this->conn->execute($query);
|
return $this->conn->execute($query);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user