added DB2 specific SAVEPOINT grammar
This commit is contained in:
parent
dd653705da
commit
92fde4b684
@ -193,4 +193,15 @@ class DB2Grammar extends Grammar
|
||||
{
|
||||
return "RAND($seed)";
|
||||
}
|
||||
|
||||
/**
|
||||
* Compile the SQL statement to define a savepoint.
|
||||
*
|
||||
* @param string $name
|
||||
* @return string
|
||||
*/
|
||||
public function compileSavepoint($name)
|
||||
{
|
||||
return 'SAVEPOINT '.$name.' ON ROLLBACK RETAIN CURSORS';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user