1
0
mirror of synced 2024-12-14 07:06:04 +03:00
This commit is contained in:
zYne 2007-04-18 08:59:10 +00:00
parent be0143985e
commit 707f801509
3 changed files with 8 additions and 8 deletions

View File

@ -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);
} }

View File

@ -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);
} }

View File

@ -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);
} }