gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 15/15: removed LIMIT expression from DELETE stmt.


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 15/15: removed LIMIT expression from DELETE stmt. See http://sqlite.org/syntaxdiagrams.html#delete-stmt
Date: Wed, 19 Apr 2017 09:39:22 +0200

This is an automated email from the git hooks/post-receive script.

xrs pushed a commit to branch master
in repository gnunet.

commit 1c2ab4aa3b9b563ad2098984b5751e67d3267778
Author: xrs <address@hidden>
AuthorDate: Wed Apr 19 09:38:28 2017 +0200

    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)
   {

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]