aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_sqlite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore/plugin_datastore_sqlite.c')
-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)) &&