diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-05-04 12:38:09 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-05-04 12:38:09 +0000 |
commit | 53207df2f6f9520a23595941b7e0cb365f59db89 (patch) | |
tree | 1867f81bf700986cfbf43e0a96ed43fdf883a4d0 /src/datastore | |
parent | c8a5f498155ba7e89273a6882e29291fcd66dc8b (diff) | |
download | gnunet-53207df2f6f9520a23595941b7e0cb365f59db89.tar.gz gnunet-53207df2f6f9520a23595941b7e0cb365f59db89.zip |
logstmt
Diffstat (limited to 'src/datastore')
-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); |