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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pq/pq_exec.c b/src/pq/pq_exec.c
index dcde331b6..62dd577ad 100644
--- a/src/pq/pq_exec.c
+++ b/src/pq/pq_exec.c
@@ -87,10 +87,10 @@ GNUNET_PQ_exec_statements (struct GNUNET_PQ_Context *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, 89 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
90 "Running statement `%s' on %p finished (%d)\n", 90 "Running statement `%s' on %p finished (%s)\n",
91 es[i].sql, 91 es[i].sql,
92 db, 92 db,
93 PGRES_COMMAND_OK == PQresultStatus (result)); 93 PQresStatus (PQresultStatus (result)));
94 if ((GNUNET_NO == es[i].ignore_errors) && 94 if ((GNUNET_NO == es[i].ignore_errors) &&
95 (PGRES_COMMAND_OK != PQresultStatus (result))) 95 (PGRES_COMMAND_OK != PQresultStatus (result)))
96 { 96 {