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
279f3d69
Commit
279f3d69
authored
Jun 27, 2007
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
1242c8e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
Query.php
lib/Doctrine/Query.php
+5
-2
SubqueryTestCase.php
tests/Query/SubqueryTestCase.php
+0
-1
No files found.
lib/Doctrine/Query.php
View file @
279f3d69
...
...
@@ -928,8 +928,11 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable
if
(
strpos
(
$part
,
'.'
)
!==
false
)
{
$separator
=
'.'
;
}
if
(
strpos
(
$part
,
'__'
)
!==
false
)
{
$separator
=
'__'
;
if
(
$driverName
==
'mysql'
||
$driverName
==
'pgsql'
)
{
if
(
strpos
(
$part
,
'__'
)
!==
false
)
{
$separator
=
'__'
;
}
}
if
(
$separator
)
{
...
...
tests/Query/SubqueryTestCase.php
View file @
279f3d69
...
...
@@ -102,7 +102,6 @@ class Doctrine_Query_Subquery_TestCase extends Doctrine_UnitTestCase
$count
=
$users
->
count
();
}
catch
(
Doctrine_Exception
$e
)
{
$this
->
fail
();
}
...
...
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