diff options
Diffstat (limited to 'src/datastore/plugin_datastore_mysql.c')
-rw-r--r-- | src/datastore/plugin_datastore_mysql.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/datastore/plugin_datastore_mysql.c b/src/datastore/plugin_datastore_mysql.c index 2eefd9b04..e4989d519 100644 --- a/src/datastore/plugin_datastore_mysql.c +++ b/src/datastore/plugin_datastore_mysql.c | |||
@@ -525,6 +525,10 @@ prepare_statement (struct Plugin *plugin, | |||
525 | ret->query, | 525 | ret->query, |
526 | strlen (ret->query))) | 526 | strlen (ret->query))) |
527 | { | 527 | { |
528 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, | ||
529 | "mysql", | ||
530 | _("Failed to prepare statement `%s'\n"), | ||
531 | ret->query); | ||
528 | LOG_MYSQL (GNUNET_ERROR_TYPE_ERROR, | 532 | LOG_MYSQL (GNUNET_ERROR_TYPE_ERROR, |
529 | "mysql_stmt_prepare", | 533 | "mysql_stmt_prepare", |
530 | plugin); | 534 | plugin); |