changeset 691:4e2dd03835de

Adding `report.id` to the `group by` to fix for postgresql - see #451
author dfraser
date Thu, 17 Sep 2009 09:26:42 +0000
parents ea2f162dcbe8
children f15151b3ab96
files bitten/report/lint.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/report/lint.py
+++ b/bitten/report/lint.py
@@ -45,7 +45,7 @@
 from bitten_report as report
  left outer join bitten_build as build ON (report.build=build.id)
 where build.config='%s' and report.category='lint'
-group by build.rev_time, build.rev, build.platform
+group by build.rev_time, build.rev, build.platform, report.id
 order by build.rev_time;""" % (config.name,)
 
         #self.log.debug('sql=\'%s\'' % (query,))
Copyright (C) 2012-2017 Edgewall Software