summaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_postgres.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2020-01-16 00:11:51 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2020-01-16 00:12:25 +0100
commit90e15720391b2943096352c023f64544a8d009a8 (patch)
treec6c6934c1a63c8c636776fcd86c8174ecc6f480f /src/exchangedb/plugin_exchangedb_postgres.c
parent2c4bdcc4c0886ff2dbeb1fe5d9fe29ddae1244a8 (diff)
downloadexchange-90e15720391b2943096352c023f64544a8d009a8.tar.gz
exchange-90e15720391b2943096352c023f64544a8d009a8.tar.bz2
exchange-90e15720391b2943096352c023f64544a8d009a8.zip
Adapting wirewatch tests to new style.
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c8
1 files changed, 6 insertions, 2 deletions
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;