From 90e15720391b2943096352c023f64544a8d009a8 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Thu, 16 Jan 2020 00:11:51 +0100 Subject: Adapting wirewatch tests to new style. --- src/exchangedb/plugin_exchangedb_postgres.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/exchangedb') diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 25692445b..28d8e5741 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -1743,6 +1743,10 @@ postgres_start (void *cls, GNUNET_PQ_EXECUTE_STATEMENT_END }; + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "Starting transaction named: %s\n", + name); + postgres_preflight (cls, session); @@ -1840,13 +1844,13 @@ postgres_preflight (void *cls, es)) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "BUG: Preflight check committed transaction `%s'!\n", + "BUG: Preflight check rolled back transaction `%s'!\n", session->transaction_name); } else { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "BUG: Preflight check failed to commit transaction `%s'!\n", + "BUG: Preflight check failed to rollback transaction `%s'!\n", session->transaction_name); } session->transaction_name = NULL; -- cgit v1.2.3