removed LIMIT expression from DELETE stmt. See http://sqlite.org/syntaxdiagrams.html...
authorxrs <xrs@mail36.net>
Wed, 19 Apr 2017 07:38:28 +0000 (09:38 +0200)
committerxrs <xrs@mail36.net>
Wed, 19 Apr 2017 07:38:28 +0000 (09:38 +0200)
src/datastore/plugin_datastore_sqlite.c

index bcaf27d993acf85ade455ba9e7932d3b2d43bc7d..323c038566355ad272cf6625552c5b7f6e4bf951 100644 (file)
@@ -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)
   {