diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-08-14 21:06:13 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-08-14 21:06:13 +0200 |
commit | d7ec46f9c7040e0def7c8c14249d8f06ee41a98a (patch) | |
tree | aab5e2a895c1bad965ca936e49ab7bf486827d9b /src/mintdb | |
parent | c21da52b685cce8b806f5554b2722765735bd877 (diff) |
fix db insert
Diffstat (limited to 'src/mintdb')
-rw-r--r-- | src/mintdb/plugin_mintdb_postgres.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c index b0fe11b59..d319acad0 100644 --- a/src/mintdb/plugin_mintdb_postgres.c +++ b/src/mintdb/plugin_mintdb_postgres.c @@ -2478,11 +2478,10 @@ postgres_insert_refresh_commit_coins (void *cls, TALER_PQ_query_param_uint16 (&coin_off), TALER_PQ_query_param_fixed_size (rle, rle_size), - TALER_PQ_query_param_fixed_size (commit_coins->coin_ev, - commit_coins->coin_ev_size), + TALER_PQ_query_param_fixed_size (commit_coins[i].coin_ev, + commit_coins[i].coin_ev_size), TALER_PQ_query_param_end }; - result = TALER_PQ_exec_prepared (session->conn, "insert_refresh_commit_coin", params); |