git://git.exim.org
/
buildfarm-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d6bc84
)
update materialised dashboard table
author
Andrew Dunstan
<andrew@dunslane.net>
Wed, 11 Feb 2009 01:27:09 +0000
(
01:27
+0000)
committer
Andrew Dunstan
<andrew@dunslane.net>
Wed, 11 Feb 2009 01:27:09 +0000
(
01:27
+0000)
cgi-bin/pgstatus.pl
patch
|
blob
|
history
diff --git
a/cgi-bin/pgstatus.pl
b/cgi-bin/pgstatus.pl
index aa83566d95357ff8a530c1d52936ef349a2d0ab5..614fcf302099fb1530c1e88086524779fe66bd3b 100755
(executable)
--- a/
cgi-bin/pgstatus.pl
+++ b/
cgi-bin/pgstatus.pl
@@
-322,6
+322,12
@@
$row=$sth->fetchrow_arrayref;
my ($os, $compiler,$arch) = @$row;
$sth->finish;
+
+$db->begin_work;
+$db->do("delete from dashboard_mat");
+$db->do("insert into dashboard_mat select * from dashboard_mat_data");
+$db->commit;
+
$db->disconnect;
print "Content-Type: text/plain\n\n";