summaryrefslogtreecommitdiff
path: root/src/auditordb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-11-08 18:44:12 +0100
committerChristian Grothoff <christian@grothoff.org>2017-11-08 18:44:12 +0100
commit1139f74ffe89ea31b5a15f0a2c174e054e19e2b6 (patch)
tree9f8e5a9f07773d23e4f216205097a5857bba25e6 /src/auditordb
parentf8af22b882f734c3d7dd0bcaf4673552d0a616c4 (diff)
downloadexchange-1139f74ffe89ea31b5a15f0a2c174e054e19e2b6.tar.gz
exchange-1139f74ffe89ea31b5a15f0a2c174e054e19e2b6.tar.bz2
exchange-1139f74ffe89ea31b5a15f0a2c174e054e19e2b6.zip
fix minor wire auditor bugs, add samples of output
Diffstat (limited to 'src/auditordb')
-rw-r--r--src/auditordb/plugin_auditordb_postgres.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c
index 1001ba952..27f560a4f 100644
--- a/src/auditordb/plugin_auditordb_postgres.c
+++ b/src/auditordb/plugin_auditordb_postgres.c
@@ -1389,11 +1389,11 @@ postgres_update_wire_auditor_progress (void *cls,
struct GNUNET_PQ_QueryParam params[] = {
GNUNET_PQ_query_param_uint64 (&pp->last_reserve_in_serial_id),
GNUNET_PQ_query_param_uint64 (&pp->last_wire_out_serial_id),
- GNUNET_PQ_query_param_auto_from_type (master_pub),
GNUNET_PQ_query_param_fixed_size (in_wire_off,
wire_off_size),
GNUNET_PQ_query_param_fixed_size (out_wire_off,
wire_off_size),
+ GNUNET_PQ_query_param_auto_from_type (master_pub),
GNUNET_PQ_query_param_end
};
@@ -1428,9 +1428,9 @@ postgres_get_wire_auditor_progress (void *cls,
GNUNET_PQ_query_param_end
};
struct GNUNET_PQ_ResultSpec rs[] = {
- GNUNET_PQ_result_spec_uint64 ("last_reserve_in_serial_id",
+ GNUNET_PQ_result_spec_uint64 ("last_wire_reserve_in_serial_id",
&pp->last_reserve_in_serial_id),
- GNUNET_PQ_result_spec_uint64 ("last_wire_out_serial_id",
+ GNUNET_PQ_result_spec_uint64 ("last_wire_wire_out_serial_id",
&pp->last_wire_out_serial_id),
GNUNET_PQ_result_spec_variable_size ("wire_in_off",
in_wire_off,