aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore/plugin_datastore_mysql.c')
-rw-r--r--src/datastore/plugin_datastore_mysql.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/datastore/plugin_datastore_mysql.c b/src/datastore/plugin_datastore_mysql.c
index 2eefd9b04f..e4989d519d 100644
--- a/src/datastore/plugin_datastore_mysql.c
+++ b/src/datastore/plugin_datastore_mysql.c
@@ -525,6 +525,10 @@ prepare_statement (struct Plugin *plugin,
ret->query,
strlen (ret->query)))
{
+ GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR,
+ "mysql",
+ _("Failed to prepare statement `%s'\n"),
+ ret->query);
LOG_MYSQL (GNUNET_ERROR_TYPE_ERROR,
"mysql_stmt_prepare",
plugin);