diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-13 14:55:58 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-13 14:55:58 +0100 |
commit | 9c20b62eb965c2b8a9e94f56283d5671e37bc447 (patch) | |
tree | cda1596854b194e6686459ecfa0aed186c5a10aa /src/auditordb | |
parent | 8d5f42fe0cff134120e462c7e905403f7d38b9d6 (diff) | |
download | exchange-9c20b62eb965c2b8a9e94f56283d5671e37bc447.tar.xz |
database setup logic is now external to httpd
Diffstat (limited to 'src/auditordb')
-rw-r--r-- | src/auditordb/plugin_auditordb_postgres.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c index 4515e7795..2f1b5234d 100644 --- a/src/auditordb/plugin_auditordb_postgres.c +++ b/src/auditordb/plugin_auditordb_postgres.c @@ -37,7 +37,8 @@ * @param field name of the database field to fetch amount from * @param[out] amountp pointer to amount to set */ -#define TALER_PQ_RESULT_SPEC_AMOUNT(field,amountp) TALER_PQ_result_spec_amount ( \ +#define TALER_PQ_RESULT_SPEC_AMOUNT(field,amountp) \ + TALER_PQ_result_spec_amount ( \ field,pg->currency,amountp) /** @@ -62,6 +63,11 @@ struct TALER_AUDITORDB_Session */ struct GNUNET_PQ_Context *conn; + /** + * Name of the ongoing transaction, used to debug cases where + * a transaction is not properly terminated via COMMIT or + * ROLLBACK. + */ const char *transaction_name; }; |