silverstripe/sapphire — pull request #381 by AngryPHPNerd (2012-04-30 10:50:28+00:00)
Title: ENHANCEMENT: Colliding field check runs twice

The check for colliding fields is still handled by DataQuery Class:
https://github.com/silverstripe/sapphire/blob/master/model/DataQuery.php#L195

What is the reason to check in the Database Abstraction Layer again for fields with the same name?
https://github.com/silverstripe/sapphire/blob/master/model/MySQLDatabase.php#L1162