removed LIMIT expression from DELETE stmt. See http://sqlite.org/syntaxdiagrams.html...
[oweals/gnunet.git] / 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)
   {