logstmt
authorChristian Grothoff <christian@grothoff.org>
Wed, 4 May 2011 12:38:09 +0000 (12:38 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 4 May 2011 12:38:09 +0000 (12:38 +0000)
src/datastore/plugin_datastore_mysql.c

index 2eefd9b04f17c35d4e8e6e8c3be80fa98de65fcb..e4989d519dd8b8a0a33a6865803d73c24e076ff2 100644 (file)
@@ -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);