Skip to content

Pagination LimitSubqueryWalker optimization #6819

@plfort

Description

@plfort

LimitSubqueryWalker create useless select expressions when "resultVariable" are involved : https://github.com/doctrine/doctrine2/blob/a82f6c5725cb31348eae0b4414e8992b1400ba30/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryWalker.php#L76-L82

We need to "Preserve mixed data in query for ordering." only if these fields are used in the "order by" clause.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions