Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
949a9ffa
Commit
949a9ffa
authored
Feb 03, 2013
by
Steve Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add SQLServerPlatform supports schemas
parent
3ba21503
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
SQLServerPlatform.php
lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php
+8
-0
SQLServerPlatformTest.php
...s/Doctrine/Tests/DBAL/Platforms/SQLServerPlatformTest.php
+5
-0
No files found.
lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php
View file @
949a9ffa
...
@@ -106,6 +106,14 @@ class SQLServerPlatform extends AbstractPlatform
...
@@ -106,6 +106,14 @@ class SQLServerPlatform extends AbstractPlatform
return
false
;
return
false
;
}
}
/**
* {@inheritdoc}
*/
public
function
supportsSchemas
()
{
return
true
;
}
/**
/**
* {@inheritDoc}
* {@inheritDoc}
*/
*/
...
...
tests/Doctrine/Tests/DBAL/Platforms/SQLServerPlatformTest.php
View file @
949a9ffa
...
@@ -119,6 +119,11 @@ class SQLServerPlatformTest extends AbstractPlatformTestCase
...
@@ -119,6 +119,11 @@ class SQLServerPlatformTest extends AbstractPlatformTestCase
$this
->
assertTrue
(
$this
->
_platform
->
supportsIdentityColumns
());
$this
->
assertTrue
(
$this
->
_platform
->
supportsIdentityColumns
());
}
}
public
function
testSupportsSchemas
()
{
$this
->
assertTrue
(
$this
->
_platform
->
supportsSchemas
());
}
public
function
testDoesNotSupportSavePoints
()
public
function
testDoesNotSupportSavePoints
()
{
{
$this
->
assertTrue
(
$this
->
_platform
->
supportsSavepoints
());
$this
->
assertTrue
(
$this
->
_platform
->
supportsSavepoints
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment