[tor-commits] [metrics-web/master] Minor fix to new bandwidth graph.
karsten at torproject.org
karsten at torproject.org
Tue Apr 26 12:59:07 UTC 2011
commit 62f3296f7519b0c275cb92fee33d3bd9c75037ef
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Tue Apr 26 14:58:27 2011 +0200
Minor fix to new bandwidth graph.
---
db/tordir.sql | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/db/tordir.sql b/db/tordir.sql
index cfe5907..8b9b8ca 100644
--- a/db/tordir.sql
+++ b/db/tordir.sql
@@ -604,7 +604,7 @@ $$ LANGUAGE plpgsql;
CREATE OR REPLACE FUNCTION refresh_bwhist_flags() RETURNS INTEGER AS $$
BEGIN
DELETE FROM bwhist_flags WHERE date IN (SELECT date FROM updates);
- INSERT INTO bwhist_flags (date, isexit, isguard, read_write_avg)
+ INSERT INTO bwhist_flags (date, isexit, isguard, read, written)
SELECT a.date, isexit, isguard, SUM(read_sum) as read,
SUM(written_sum) AS written
FROM
More information about the tor-commits
mailing list