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
a0c9e9db
Commit
a0c9e9db
authored
Oct 30, 2009
by
jwage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.0] Fixing casing issue
parent
881eb212
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
SqlWalker.php
lib/Doctrine/ORM/Query/SqlWalker.php
+4
-4
No files found.
lib/Doctrine/ORM/Query/SqlWalker.php
View file @
a0c9e9db
...
...
@@ -475,7 +475,7 @@ class SqlWalker implements TreeWalker
$columnAlias
=
$this
->
_platform
->
getSqlResultCasing
(
$columnAlias
);
$this
->
_rsm
->
setDiscriminatorColumn
(
$dqlAlias
,
$columnAlias
);
$this
->
_rsm
->
addMetaResult
(
$dqlAlias
,
$
columnAlias
,
$discrColumn
[
'fieldName'
]);
$this
->
_rsm
->
addMetaResult
(
$dqlAlias
,
$
this
->
_platform
->
getSqlResultCasing
(
$columnAlias
)
,
$discrColumn
[
'fieldName'
]);
// Add foreign key columns to SQL, if necessary
if
(
$addMetaColumns
)
{
...
...
@@ -494,7 +494,7 @@ class SqlWalker implements TreeWalker
$sql
.=
",
$sqlTableAlias
."
.
$assoc
->
getQuotedJoinColumnName
(
$srcColumn
,
$this
->
_platform
)
.
' AS '
.
$columnAlias
;
$columnAlias
=
$this
->
_platform
->
getSqlResultCasing
(
$columnAlias
);
$this
->
_rsm
->
addMetaResult
(
$dqlAlias
,
$
columnAlias
,
$srcColumn
);
$this
->
_rsm
->
addMetaResult
(
$dqlAlias
,
$
this
->
_platform
->
getSqlResultCasing
(
$columnAlias
)
,
$srcColumn
);
}
}
}
...
...
@@ -509,7 +509,7 @@ class SqlWalker implements TreeWalker
$columnAlias
=
$this
->
getSqlColumnAlias
(
$srcColumn
);
$sql
.=
', '
.
$sqlTableAlias
.
'.'
.
$assoc
->
getQuotedJoinColumnName
(
$srcColumn
,
$this
->
_platform
)
.
' AS '
.
$columnAlias
;
$columnAlias
=
$this
->
_platform
->
getSqlResultCasing
(
$columnAlias
);
$this
->
_rsm
->
addMetaResult
(
$dqlAlias
,
$
columnAlias
,
$srcColumn
);
$this
->
_rsm
->
addMetaResult
(
$dqlAlias
,
$
this
->
_platform
->
getSqlResultCasing
(
$columnAlias
)
,
$srcColumn
);
}
}
}
...
...
@@ -848,7 +848,7 @@ class SqlWalker implements TreeWalker
$columnAlias
=
$this
->
getSqlColumnAlias
(
$srcColumn
);
$sql
.=
$sqlTableAlias
.
'.'
.
$assoc
->
getQuotedJoinColumnName
(
$srcColumn
,
$this
->
_platform
)
.
' AS '
.
$columnAlias
;
$this
->
_rsm
->
addMetaResult
(
$dqlAlias
,
$
columnAlias
,
$srcColumn
);
$this
->
_rsm
->
addMetaResult
(
$dqlAlias
,
$
this
->
_platform
->
getSqlResultCasing
(
$columnAlias
)
,
$srcColumn
);
}
}
}
...
...
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