silverstripe/silverstripe-framework — pull request #3463 by halkyon (2014-09-01 22:52:58+00:00)
Title: Performance fix: Don't set distinct in DataQuery::initialiseQuery()

Currently *all* ORM queries are marked as DISTINCT. This has the effect
of slowing down queries on tables with lots of records dramatically.