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
b0b6e5e1
Commit
b0b6e5e1
authored
Dec 15, 2015
by
Bill Schaller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test for testModifyLimitSubquerySimple
parent
a550e7d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
SQLServer2012PlatformTest.php
...ctrine/Tests/DBAL/Platforms/SQLServer2012PlatformTest.php
+1
-1
No files found.
tests/Doctrine/Tests/DBAL/Platforms/SQLServer2012PlatformTest.php
View file @
b0b6e5e1
...
...
@@ -346,7 +346,7 @@ class SQLServer2012PlatformTest extends AbstractSQLServerPlatformTestCase
.
"(SELECT k0_.id AS id_0, k0_.field AS field_1 "
.
"FROM key_table k0_ WHERE (k0_.where_field IN (1))) dctrn_result"
;
$alteredSql
=
"SELECT DISTINCT id_0 FROM (SELECT k0_.id AS id_0, k0_.field AS field_1 "
.
"FROM key_table k0_ WHERE (k0_.where_field IN (1))) dctrn_result ORDER BY
(SELECT 0)
OFFSET 0 ROWS FETCH NEXT 20 ROWS ONLY"
;
.
"FROM key_table k0_ WHERE (k0_.where_field IN (1))) dctrn_result ORDER BY
1
OFFSET 0 ROWS FETCH NEXT 20 ROWS ONLY"
;
$sql
=
$this
->
_platform
->
modifyLimitQuery
(
$querySql
,
20
);
$this
->
assertEquals
(
$alteredSql
,
$sql
);
}
...
...
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