[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] [metrics-db/master] Fix prepared statement to import server descriptors.
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Wed, 15 Sep 2010 14:20:56 +0200
Subject: Fix prepared statement to import server descriptors.
Commit: 443b8e350a6cf349f8efe3cd5963594a2cd13247
---
.../ernie/db/RelayDescriptorDatabaseImporter.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/org/torproject/ernie/db/RelayDescriptorDatabaseImporter.java b/src/org/torproject/ernie/db/RelayDescriptorDatabaseImporter.java
index 7938edc..8a0dbc3 100644
--- a/src/org/torproject/ernie/db/RelayDescriptorDatabaseImporter.java
+++ b/src/org/torproject/ernie/db/RelayDescriptorDatabaseImporter.java
@@ -114,7 +114,7 @@ public final class RelayDescriptorDatabaseImporter {
+ "(descriptor, nickname, address, orport, dirport, "
+ "bandwidthavg, bandwidthburst, bandwidthobserved, "
+ "platform, published, uptime, extrainfo, rawdesc) "
- + "VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");
+ + "VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");
this.psE = conn.prepareStatement("INSERT INTO extrainfo "
+ "(extrainfo, nickname, fingerprint, published, rawdesc) "
+ "VALUES (?, ?, ?, ?, ?)");
--
1.7.1