aboutsummaryrefslogtreecommitdiff
path: root/src/pq/pq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pq/pq.c')
-rw-r--r--src/pq/pq.c26
1 files changed, 16 insertions, 10 deletions
diff --git a/src/pq/pq.c b/src/pq/pq.c
index 4e24e1ef8..ae12f461e 100644
--- a/src/pq/pq.c
+++ b/src/pq/pq.c
@@ -2,16 +2,18 @@
2 This file is part of GNUnet 2 This file is part of GNUnet
3 Copyright (C) 2014, 2015, 2016 GNUnet e.V. 3 Copyright (C) 2014, 2015, 2016 GNUnet e.V.
4 4
5 GNUnet is free software; you can redistribute it and/or modify it under the 5 GNUnet is free software: you can redistribute it and/or modify it
6 terms of the GNU General Public License as published by the Free Software 6 under the terms of the GNU Affero General Public License as published
7 Foundation; either version 3, or (at your option) any later version. 7 by the Free Software Foundation, either version 3 of the License,
8 8 or (at your option) any later version.
9 GNUnet is distributed in the hope that it will be useful, but WITHOUT ANY 9
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 10 GNUnet is distributed in the hope that it will be useful, but
11 A PARTICULAR PURPOSE. See the GNU General Public License for more details. 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 You should have received a copy of the GNU General Public License along with 13 Affero General Public License for more details.
14 GNUnet; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> 14
15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
15*/ 17*/
16/** 18/**
17 * @file pq/pq.c 19 * @file pq/pq.c
@@ -41,6 +43,10 @@ GNUNET_PQ_exec_prepared (PGconn *db_conn,
41 unsigned int len; 43 unsigned int len;
42 unsigned int i; 44 unsigned int i;
43 45
46 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
47 "Running prepared statement `%s' on %p\n",
48 name,
49 db_conn);
44 /* count the number of parameters */ 50 /* count the number of parameters */
45 len = 0; 51 len = 0;
46 for (i=0;0 != params[i].num_params;i++) 52 for (i=0;0 != params[i].num_params;i++)