diff options
author | tg(x) <*@tg-x.net> | 2016-11-04 20:28:27 +0100 |
---|---|---|
committer | tg(x) <*@tg-x.net> | 2016-11-04 20:28:27 +0100 |
commit | 5b8438d7e71a8d201be759fa525acafc147182eb (patch) | |
tree | 0790a312a166f6e19887d3489894305200f766c4 /src/auditordb/plugin_auditordb_postgres.c | |
parent | 2db2f65aaf9e26a3b7a9a3032b4697382b9d06c9 (diff) | |
download | exchange-5b8438d7e71a8d201be759fa525acafc147182eb.tar.xz |
auditordb postgres plugin: fix field name
Diffstat (limited to 'src/auditordb/plugin_auditordb_postgres.c')
-rw-r--r-- | src/auditordb/plugin_auditordb_postgres.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c index 3fa70d360..c21a45c17 100644 --- a/src/auditordb/plugin_auditordb_postgres.c +++ b/src/auditordb/plugin_auditordb_postgres.c @@ -2640,13 +2640,13 @@ postgres_select_historic_reserve_revenue (void *cls, } for (int i = 0; i < nrows; i++) { - struct GNUNET_TIME_Absolute start_time; - struct GNUNET_TIME_Absolute end_time; + struct GNUNET_TIME_Absolute start_date; + struct GNUNET_TIME_Absolute end_date; struct TALER_Amount reserve_profits; struct GNUNET_PQ_ResultSpec rs[] = { - GNUNET_PQ_result_spec_auto_from_type ("start_time", &start_time), - GNUNET_PQ_result_spec_auto_from_type ("end_time", &end_time), + GNUNET_PQ_result_spec_auto_from_type ("start_date", &start_date), + GNUNET_PQ_result_spec_auto_from_type ("end_date", &end_date), TALER_PQ_result_spec_amount ("reserve_profits", &reserve_profits), @@ -2660,8 +2660,8 @@ postgres_select_historic_reserve_revenue (void *cls, return GNUNET_SYSERR; } ret = cb (cb_cls, - start_time, - end_time, + start_date, + end_date, &reserve_profits); switch (ret) { |