aboutsummaryrefslogtreecommitdiff
path: root/src/datastore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-25 09:48:03 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-25 09:48:03 +0000
commit354a6b2d5484d52bc1dfc25bc176857034a2d3e4 (patch)
treee019cf3d6a16585a933386016a1121cd09f672b6 /src/datastore
parent766b916528b6e2f35a66531f31ae4ab3077bdb07 (diff)
downloadgnunet-354a6b2d5484d52bc1dfc25bc176857034a2d3e4.tar.gz
gnunet-354a6b2d5484d52bc1dfc25bc176857034a2d3e4.zip
-do warn
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);