use new fast dashboard view
authorAndrew Dunstan <andrew@dunslane.net>
Mon, 27 Aug 2007 16:57:30 +0000 (16:57 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Mon, 27 Aug 2007 16:57:30 +0000 (16:57 +0000)
cgi-bin/show_status.pl

index 39ecccdebaf6eb72ee76376a4b03aa63039c77c1..3fc48cda67ad782eb2b167c1e0474381cc8a82c1 100755 (executable)
@@ -36,14 +36,10 @@ elsif ($sortby eq 'compiler')
 
 my $db = DBI->connect($dsn,$dbuser,$dbpass) or die("$dsn,$dbuser,$dbpass,$!");
 
 
 my $db = DBI->connect($dsn,$dbuser,$dbpass) or die("$dsn,$dbuser,$dbpass,$!");
 
-# there is possibly some redundancy in this query, but it makes
-# a lot of the processing simpler.
-
 my $statement =<<EOS;
 
 
 my $statement =<<EOS;
 
 
-  select when_ago, sysname, snapshot, status, stage, branch, build_flags,
-       operating_system, os_version, compiler, compiler_version, architecture 
+  select *
   from dashboard
   order by branch = 'HEAD' desc,
         branch desc, $sort_clause 
   from dashboard
   order by branch = 'HEAD' desc,
         branch desc, $sort_clause