aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_sqlite.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-01-25 09:48:03 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-01-25 09:48:03 +0000
commitcd3a998e8d5dcd73604cee2e9402ddf0dc2040eb (patch)
treee019cf3d6a16585a933386016a1121cd09f672b6 /src/datastore/plugin_datastore_sqlite.c
parent5c9515464c38e26bdb6c517b12f1c8fdd72206d5 (diff)
-do warn
git-svn-id: https://gnunet.org/svn/gnunet@19366 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datastore/plugin_datastore_sqlite.c')
-rw-r--r--src/datastore/plugin_datastore_sqlite.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c
index 765c7f34ad..cd5ae394fc 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);