zendframework/zf2 — pull request #4673 by latch (2013-06-16 08:16:45+00:00)
Title: Additional work solution to count, with subselect, for elimination of an arising mistake

Eliminates an error: "PDOException: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column..." when original_select contains columns called in selection by the same name ( e.g. TRIM(str_column) as str_column ).