aboutsummaryrefslogtreecommitdiff
path: root/src/pq/pq_exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pq/pq_exec.c')
-rw-r--r--src/pq/pq_exec.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pq/pq_exec.c b/src/pq/pq_exec.c
index 464fff4b4..dcde331b6 100644
--- a/src/pq/pq_exec.c
+++ b/src/pq/pq_exec.c
@@ -86,6 +86,11 @@ GNUNET_PQ_exec_statements (struct GNUNET_PQ_Context *db,
86 db); 86 db);
87 result = PQexec (db->conn, 87 result = PQexec (db->conn,
88 es[i].sql); 88 es[i].sql);
89 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
90 "Running statement `%s' on %p finished (%d)\n",
91 es[i].sql,
92 db,
93 PGRES_COMMAND_OK == PQresultStatus (result));
89 if ((GNUNET_NO == es[i].ignore_errors) && 94 if ((GNUNET_NO == es[i].ignore_errors) &&
90 (PGRES_COMMAND_OK != PQresultStatus (result))) 95 (PGRES_COMMAND_OK != PQresultStatus (result)))
91 { 96 {