aboutsummaryrefslogtreecommitdiff
path: root/src/datastore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-12 02:51:36 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-12 02:51:36 +0100
commita707b513688690a3dad9dc39535900da73a79f28 (patch)
tree0439c267fc54960441ae09f0ca5c62e0c41f2cb7 /src/datastore
parent538d7fde8cb1c0d079f01f2290aa3e3e2744beff (diff)
downloadgnunet-a707b513688690a3dad9dc39535900da73a79f28.tar.gz
gnunet-a707b513688690a3dad9dc39535900da73a79f28.zip
converting datacache to sqlite, fixing misc. issues in libgnunetsq
Diffstat (limited to 'src/datastore')
-rw-r--r--src/datastore/plugin_datastore_sqlite.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c
index 4e65f9d14..54bf4e55d 100644
--- a/src/datastore/plugin_datastore_sqlite.c
+++ b/src/datastore/plugin_datastore_sqlite.c
@@ -855,11 +855,9 @@ execute_get (struct Plugin *plugin,
855 anonymity, 855 anonymity,
856 expiration, 856 expiration,
857 rowid); 857 rowid);
858 if (SQLITE_OK != 858 GNUNET_SQ_cleanup_result (rs);
859 sqlite3_reset (stmt)) 859 GNUNET_SQ_reset (plugin->dbh,
860 LOG_SQLITE (plugin, 860 stmt);
861 GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK,
862 "sqlite3_reset");
863 if ( (GNUNET_NO == ret) && 861 if ( (GNUNET_NO == ret) &&
864 (GNUNET_OK == delete_by_rowid (plugin, 862 (GNUNET_OK == delete_by_rowid (plugin,
865 rowid)) && 863 rowid)) &&