From: Christian Grothoff Date: Wed, 25 Jan 2012 09:48:03 +0000 (+0000) Subject: -do warn X-Git-Tag: initial-import-from-subversion-38251~15135 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=354a6b2d5484d52bc1dfc25bc176857034a2d3e4;p=oweals%2Fgnunet.git -do warn --- diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c index 765c7f34a..cd5ae394f 100644 --- a/src/datastore/plugin_datastore_sqlite.c +++ b/src/datastore/plugin_datastore_sqlite.c @@ -420,11 +420,9 @@ database_shutdown (struct Plugin *plugin) "Closing statement %p\n", stmt); #endif result = sqlite3_finalize (stmt); -#if DEBUG_SQLITE if (result != SQLITE_OK) - GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "sqlite", + GNUNET_log_from (GNUNET_ERROR_TYPE_WARNING, "sqlite", "Failed to close statement %p: %d\n", stmt, result); -#endif stmt = sqlite3_next_stmt (plugin->dbh, NULL); } result = sqlite3_close (plugin->dbh);