From: xrs <xrs@mail36.net> Date: Wed, 19 Apr 2017 07:38:28 +0000 (+0200) Subject: removed LIMIT expression from DELETE stmt. See http://sqlite.org/syntaxdiagrams.html... X-Git-Tag: gnunet-0.11.0rc0~276 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1c2ab4aa3b9b563ad2098984b5751e67d3267778;p=oweals%2Fgnunet.git removed LIMIT expression from DELETE stmt. See sqlite.org/syntaxdiagrams.html#delete-stmt --- 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) {