[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-web/master] Tweak the relay-search query a bit.
commit b3b67567da69c9547a15fee02a5c54827b165532
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Thu Jan 12 14:50:40 2012 +0100
Tweak the relay-search query a bit.
---
.../torproject/ernie/web/RelaySearchServlet.java | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/org/torproject/ernie/web/RelaySearchServlet.java b/src/org/torproject/ernie/web/RelaySearchServlet.java
index 8d47667..512e25f 100644
--- a/src/org/torproject/ernie/web/RelaySearchServlet.java
+++ b/src/org/torproject/ernie/web/RelaySearchServlet.java
@@ -343,6 +343,7 @@ public class RelaySearchServlet extends HttpServlet {
queryBuilder.append(timeInterval);
queryBuilder.append("ORDER BY validafter DESC LIMIT 31) AND ");
queryBuilder.append(conditionBuilder.toString());
+ queryBuilder.append(timeInterval);
queries.add(queryBuilder.toString());
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits