Do not alias plain column names to the inflator spec, do it only for funcs
authorPeter Rabbitson <ribasushi@cpan.org>
Thu, 29 Mar 2012 02:53:28 +0000 (04:53 +0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Sat, 14 Apr 2012 10:13:46 +0000 (12:13 +0200)
commit90ed89cbd9951c4eeccb227b586b200eb34574d2
tree80f471c066c64805045e55e8d3364fb3a4e9a520
parentebc5c60a4ff45bb9ab7630e2512015b3b7cb2c96
Do not alias plain column names to the inflator spec, do it only for funcs

This solves a problem with deliberate column renames in complex subqueries
lib/DBIx/Class/SQLMaker/LimitDialects.pm
t/73oracle_hq.t
t/sqlmaker/limit_dialects/fetch_first.t
t/sqlmaker/limit_dialects/generic_subq.t
t/sqlmaker/limit_dialects/rno.t
t/sqlmaker/limit_dialects/rownum.t
t/sqlmaker/limit_dialects/toplimit.t