summaryrefslogtreecommitdiff
path: root/src/mintdb/plugin_mintdb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-07-09 13:01:39 +0200
committerChristian Grothoff <christian@grothoff.org>2015-07-09 13:01:39 +0200
commitd88048e4b91bf79db44c6f97be03c44311c9568f (patch)
treec1ef82f1291dd31de3ad8704a482b6039ab18e37 /src/mintdb/plugin_mintdb_postgres.c
parenta24171d0fadbed579985e0267670ce524a1a5ab8 (diff)
downloadexchange-d88048e4b91bf79db44c6f97be03c44311c9568f.tar.gz
exchange-d88048e4b91bf79db44c6f97be03c44311c9568f.tar.bz2
exchange-d88048e4b91bf79db44c6f97be03c44311c9568f.zip
fix transaction ID conversion in DB
Diffstat (limited to 'src/mintdb/plugin_mintdb_postgres.c')
-rw-r--r--src/mintdb/plugin_mintdb_postgres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c
index bef3f9301..d6e136da0 100644
--- a/src/mintdb/plugin_mintdb_postgres.c
+++ b/src/mintdb/plugin_mintdb_postgres.c
@@ -1752,7 +1752,7 @@ postgres_have_deposit (void *cls,
{
struct TALER_PQ_QueryParam params[] = {
TALER_PQ_query_param_auto_from_type (&deposit->coin.coin_pub),
- TALER_PQ_query_param_auto_from_type (&deposit->transaction_id),
+ TALER_PQ_query_param_uint64 (&deposit->transaction_id),
TALER_PQ_query_param_auto_from_type (&deposit->merchant_pub),
TALER_PQ_query_param_end
};
@@ -1846,7 +1846,7 @@ postgres_insert_deposit (void *cls,
TALER_PQ_query_param_auto_from_type (&deposit->coin.coin_pub),
TALER_PQ_query_param_rsa_public_key (deposit->coin.denom_pub.rsa_public_key),
TALER_PQ_query_param_rsa_signature (deposit->coin.denom_sig.rsa_signature),
- TALER_PQ_query_param_auto_from_type (&deposit->transaction_id),
+ TALER_PQ_query_param_uint64 (&deposit->transaction_id),
TALER_PQ_query_param_amount (&deposit->amount_with_fee),
TALER_PQ_query_param_amount (&deposit->deposit_fee),
TALER_PQ_query_param_absolute_time (&deposit->timestamp),