diff options
Diffstat (limited to 'src/pq/pq.c')
-rw-r--r-- | src/pq/pq.c | 6 |
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 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 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/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | */ | 17 | */ |
@@ -43,6 +43,10 @@ GNUNET_PQ_exec_prepared (PGconn *db_conn, | |||
43 | unsigned int len; | 43 | unsigned int len; |
44 | unsigned int i; | 44 | unsigned int i; |
45 | 45 | ||
46 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
47 | "Running prepared statement `%s' on %p\n", | ||
48 | name, | ||
49 | db_conn); | ||
46 | /* count the number of parameters */ | 50 | /* count the number of parameters */ |
47 | len = 0; | 51 | len = 0; |
48 | for (i=0;0 != params[i].num_params;i++) | 52 | for (i=0;0 != params[i].num_params;i++) |