Skip to content

Commit c7d77e1

Browse files
committed
Revert "fixup! fix: add failing test when aliasing a column of a joined relation"
This reverts commit 1829982.
1 parent 1829982 commit c7d77e1

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

lib/Doctrine/Hydrator/ArrayDriver.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,6 @@ private function addSelectedRelationToRowData($rowData, $dqlAlias, $cache)
104104
if (!isset($rowData[$dqlAlias])) {
105105
if ($cache['isRelation']) {
106106
$rowData[$dqlAlias] = array();
107-
108-
// Needs to add on SQL the identifiers on select
109-
//
110-
// foreach ($cache['identifiers'] as $identifierFieldName) {
111-
// $identifierSqlAlias = $cache['identifierMap'][$identifierFieldName];
112-
// $rowData[$dqlAlias][$identifierFieldName] = $data[$identifierSqlAlias];
113-
// }
114107
}
115108
}
116109

lib/Doctrine/Hydrator/Graph.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ protected function _gatherRowData(&$data, &$cache, &$id, &$nonemptyComponents)
333333
} else {
334334
$cache[$key]['isIdentifier'] = false;
335335
}
336-
// $cache[$key]['identifiers'] = (array) $table->getIdentifiers();
337336

338337
$type = $table->getTypeOfColumn($last);
339338
if ($type == 'integer' || $type == 'string') {

0 commit comments

Comments
 (0)