summaryrefslogtreecommitdiff
path: root/src/pq/pq.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-08-10 21:53:02 +0200
committerChristian Grothoff <christian@grothoff.org>2018-08-10 21:53:02 +0200
commit32096a26ea635d7f8d757319945245cd06d262c4 (patch)
treeec9ee666dd250072b4ac259e835236d4f51e4e25 /src/pq/pq.c
parent7328db7a405e5be7dbbee505f4e7ea8af7889c9a (diff)
nicer pq logging
Diffstat (limited to 'src/pq/pq.c')
-rw-r--r--src/pq/pq.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pq/pq.c b/src/pq/pq.c
index 66f9d983b..ae12f461e 100644
--- a/src/pq/pq.c
+++ b/src/pq/pq.c
@@ -11,7 +11,7 @@
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@@ -43,6 +43,10 @@ GNUNET_PQ_exec_prepared (PGconn *db_conn,
unsigned int len;
unsigned int i;
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Running prepared statement `%s' on %p\n",
+ name,
+ db_conn);
/* count the number of parameters */
len = 0;
for (i=0;0 != params[i].num_params;i++)