From 1c2ab4aa3b9b563ad2098984b5751e67d3267778 Mon Sep 17 00:00:00 2001 From: xrs Date: Wed, 19 Apr 2017 09:38:28 +0200 Subject: [PATCH] removed LIMIT expression from DELETE stmt. See http://sqlite.org/syntaxdiagrams.html#delete-stmt --- src/datastore/plugin_datastore_sqlite.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c index bcaf27d99..323c03856 100644 --- a/src/datastore/plugin_datastore_sqlite.c +++ b/src/datastore/plugin_datastore_sqlite.c @@ -427,8 +427,7 @@ database_setup (const struct GNUNET_CONFIGURATION_Handle *cfg, sq_prepare (plugin->dbh, "DELETE FROM gn090 " "WHERE hash = ? AND " - "value = ? " - "LIMIT 1", + "value = ? ", &plugin->remove)) || false) { -- 2.25.1