summaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-11-17 14:31:44 +0100
committerChristian Grothoff <christian@grothoff.org>2016-11-17 14:31:44 +0100
commite3ec645b0da594ccc3bf915b94f7ad77ca1e2a81 (patch)
treefb8191fda96c9b84a69fa61438e52cf007b4883c /src/exchangedb/plugin_exchangedb_postgres.c
parent2faa711fba76114bdad190d64f2d12c26754bc4a (diff)
downloadexchange-e3ec645b0da594ccc3bf915b94f7ad77ca1e2a81.tar.gz
exchange-e3ec645b0da594ccc3bf915b94f7ad77ca1e2a81.tar.bz2
exchange-e3ec645b0da594ccc3bf915b94f7ad77ca1e2a81.zip
change rowid type to uint64_t everywhere; start with reserve-analysis in auditor
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index c29396875..e92600cd4 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -2289,11 +2289,10 @@ postgres_have_deposit (void *cls,
static int
postgres_mark_deposit_tiny (void *cls,
struct TALER_EXCHANGEDB_Session *session,
- unsigned long long rowid)
+ uint64_t rowid)
{
- uint64_t serial_id = rowid;
struct GNUNET_PQ_QueryParam params[] = {
- GNUNET_PQ_query_param_uint64 (&serial_id),
+ GNUNET_PQ_query_param_uint64 (&rowid),
GNUNET_PQ_query_param_end
};
PGresult *result;
@@ -2393,11 +2392,10 @@ postgres_test_deposit_done (void *cls,
static int
postgres_mark_deposit_done (void *cls,
struct TALER_EXCHANGEDB_Session *session,
- unsigned long long rowid)
+ uint64_t rowid)
{
- uint64_t serial_id = rowid;
struct GNUNET_PQ_QueryParam params[] = {
- GNUNET_PQ_query_param_uint64 (&serial_id),
+ GNUNET_PQ_query_param_uint64 (&rowid),
GNUNET_PQ_query_param_end
};
PGresult *result;
@@ -4171,11 +4169,10 @@ postgres_wire_prepare_data_insert (void *cls,
static int
postgres_wire_prepare_data_mark_finished (void *cls,
struct TALER_EXCHANGEDB_Session *session,
- unsigned long long rowid)
+ uint64_t rowid)
{
- uint64_t prewire_uuid = rowid;
struct GNUNET_PQ_QueryParam params[] = {
- GNUNET_PQ_query_param_uint64 (&prewire_uuid),
+ GNUNET_PQ_query_param_uint64 (&rowid),
GNUNET_PQ_query_param_end
};
PGresult *result;