diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-06-15 22:10:12 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-06-15 22:10:12 +0200 |
commit | 0e6c4ba898b0f4c7e53b02a65f99cc4b6b066ad7 (patch) | |
tree | d4f74fb23e802cc6e699892aece5fcc5631df88d /src/exchangedb/plugin_exchangedb_postgres.c | |
parent | eb354680b45f167ded8b9a6a01090f34d88775f3 (diff) |
work on #5010
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index a97d19701..510f8cec8 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -1775,9 +1775,9 @@ execute_prepared_non_select (struct TALER_EXCHANGEDB_Session *session, * @param session connection to use * @param denom_pub the public key used for signing coins of this denomination * @param issue issuing information with value, fees and other info about the coin - * @return #GNUNET_OK on success; #GNUNET_SYSERR on failure + * @return status of the query */ -static int +static enum GNUNET_DB_QueryStatus postgres_insert_denomination_info (void *cls, struct TALER_EXCHANGEDB_Session *session, const struct TALER_DenominationPublicKey *denom_pub, @@ -1814,9 +1814,9 @@ postgres_insert_denomination_info (void *cls, TALER_amount_cmp_currency_nbo (&issue->properties.value, &issue->properties.fee_refund)); - return execute_prepared_non_select (session, - "denomination_insert", - params); + return GNUNET_PQ_eval_prepared_non_select (session->conn, + "denomination_insert", + params); } |