Fix duplicated columns for count()
authorAndré Walker <andre@andrewalker.net>
Wed, 13 Feb 2013 15:47:17 +0000 (13:47 -0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Wed, 13 Feb 2013 19:00:47 +0000 (20:00 +0100)
commit913b4bae66f2a424428ff3bd1e340b42da4581b8
treee4dba0a4bf0f85108e4248aa9266619f267f84b4
parent08d7807b3b84a2cee06f267083dd317d28148bd0
Fix duplicated columns for count()

When a same aggregate function was used more than once in a 'having'
clause, count() added that function more than once to 'select'.
Changes
lib/DBIx/Class.pm
lib/DBIx/Class/ResultSet.pm
t/count/count_rs.t