soundintheory/php-sql-parser — pull request #2 by joeynovak (2014-10-01 23:20:24+00:00)
Title: `db`.`column` References in the Order part of a query parse correctly.

This query: SELECT `NovaLog`.`id`, `NovaLog`.`type`, `NovaLog`.`message`, `NovaLog`.`email_sent`, `NovaLog`.`hide`, `NovaLog`.`created`, `NovaLog`.`modified` FROM `meridian-dc`.`nova_logs` AS `NovaLog` WHERE `email_sent` = '1' ORDER BY `NovaLog`.`created` DESC LIMIT 1

Would not parse correctly. I did a quick fix that gets it parsing, but I didn't run the test suite yet. I don't have time to checkout the project, run the tests, etc... (My environment isn't setup for composer at the moment), but I wanted to send you the fix / make you aware of the problem.

Joey