summaryrefslogtreecommitdiff
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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pq/pq_exec.c b/src/pq/pq_exec.c
index 31dbc3ff7..f089d7c0a 100644
--- a/src/pq/pq_exec.c
+++ b/src/pq/pq_exec.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*/
@@ -79,6 +79,10 @@ GNUNET_PQ_exec_statements (PGconn *connection,
79 { 79 {
80 PGresult *result; 80 PGresult *result;
81 81
82 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
83 "Running statement `%s' on %p\n",
84 es[i].sql,
85 connection);
82 result = PQexec (connection, 86 result = PQexec (connection,
83 es[i].sql); 87 es[i].sql);
84 if ( (GNUNET_NO == es[i].ignore_errors) && 88 if ( (GNUNET_NO == es[i].ignore_errors) &&