Commit fd2e8fa0 authored by Benjamin Eberlei's avatar Benjamin Eberlei

It seems some things went wrong with the sqlsrv-merge, fixed now

parent 84ca5ac4
...@@ -714,38 +714,4 @@ DROP DATABASE ' . $name . ';'; ...@@ -714,38 +714,4 @@ DROP DATABASE ' . $name . ';';
{ {
return 'ROLLBACK TRANSACTION ' . $savepoint; return 'ROLLBACK TRANSACTION ' . $savepoint;
} }
/**
* Generate SQL to create a new savepoint
*
* @param string $savepoint
* @return string
*/
public function createSavePoint($savepoint)
{
return 'SAVE TRANSACTION ' . $savepoint;
}
/**
* Generate SQL to release a savepoint
*
* @param string $savepoint
* @return string
*/
public function releaseSavePoint($savepoint)
{
return '';
}
/**
* Generate SQL to rollback a savepoint
*
* @param string $savepoint
* @return string
*/
public function rollbackSavePoint($savepoint)
{
return 'ROLLBACK TRANSACTION ' . $savepoint;
}
} }
...@@ -68,6 +68,9 @@ class MsSqlPlatformTest extends AbstractPlatformTestCase ...@@ -68,6 +68,9 @@ class MsSqlPlatformTest extends AbstractPlatformTestCase
public function testGeneratesDDLSnippets() public function testGeneratesDDLSnippets()
{ {
$dropDatabaseExpectation = <<<DDB $dropDatabaseExpectation = <<<DDB
ALTER DATABASE [foobar]
SET SINGLE_USER
WITH ROLLBACK IMMEDIATE;
DROP DATABASE foobar; DROP DATABASE foobar;
DDB; DDB;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment