From a707b513688690a3dad9dc39535900da73a79f28 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 12 Mar 2017 02:51:36 +0100 Subject: converting datacache to sqlite, fixing misc. issues in libgnunetsq --- src/datastore/plugin_datastore_sqlite.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/datastore') 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, anonymity, expiration, rowid); - if (SQLITE_OK != - sqlite3_reset (stmt)) - LOG_SQLITE (plugin, - GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, - "sqlite3_reset"); + GNUNET_SQ_cleanup_result (rs); + GNUNET_SQ_reset (plugin->dbh, + stmt); if ( (GNUNET_NO == ret) && (GNUNET_OK == delete_by_rowid (plugin, rowid)) && -- cgit v1.2.3