aboutsummaryrefslogtreecommitdiff
path: root/src/datastore
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore')
-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 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)
420 "Closing statement %p\n", stmt); 420 "Closing statement %p\n", stmt);
421#endif 421#endif
422 result = sqlite3_finalize (stmt); 422 result = sqlite3_finalize (stmt);
423#if DEBUG_SQLITE
424 if (result != SQLITE_OK) 423 if (result != SQLITE_OK)
425 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "sqlite", 424 GNUNET_log_from (GNUNET_ERROR_TYPE_WARNING, "sqlite",
426 "Failed to close statement %p: %d\n", stmt, result); 425 "Failed to close statement %p: %d\n", stmt, result);
427#endif
428 stmt = sqlite3_next_stmt (plugin->dbh, NULL); 426 stmt = sqlite3_next_stmt (plugin->dbh, NULL);
429 } 427 }
430 result = sqlite3_close (plugin->dbh); 428 result = sqlite3_close (plugin->dbh);