aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_mysql.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2011-05-04 12:38:09 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2011-05-04 12:38:09 +0000
commitedf11ab9dd236fb58b5fc6132a841f70e0da4663 (patch)
tree1867f81bf700986cfbf43e0a96ed43fdf883a4d0 /src/datastore/plugin_datastore_mysql.c
parentce1c3f363fc9a03bf12e2eb1c8dfa97820de1c9a (diff)
logstmt
git-svn-id: https://gnunet.org/svn/gnunet@15144 140774ce-b5e7-0310-ab8b-a85725594a96
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);