[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
- [GNUnet-SVN] [gnunet] 08/15: test_multicast_2peers.c: fix code style, (continued)
- [GNUnet-SVN] [gnunet] 08/15: test_multicast_2peers.c: fix code style, gnunet, 2017/04/19
- [GNUnet-SVN] [gnunet] 05/15: Merge branch 'master' of ssh://gnunet.org/gnunet, gnunet, 2017/04/19
- [GNUnet-SVN] [gnunet] 04/15: Merge branch 'master' of ssh://gnunet.org/gnunet, gnunet, 2017/04/19
- [GNUnet-SVN] [gnunet] 02/15: test_multicast_multipeer: fix, gnunet, 2017/04/19
- [GNUnet-SVN] [gnunet] 10/15: Merge branch 'master' of ssh://gnunet.org/gnunet, gnunet, 2017/04/19
- [GNUnet-SVN] [gnunet] 01/15: real test_multicast_multipeer started, gnunet, 2017/04/19
- [GNUnet-SVN] [gnunet] 03/15: Merge branch 'master' of ssh://gnunet.org/gnunet, gnunet, 2017/04/19
- [GNUnet-SVN] [gnunet] 13/15: Merge branch 'master' of ssh://gnunet.org/gnunet, gnunet, 2017/04/19
- [GNUnet-SVN] [gnunet] 14/15: Merge branch 'master' of ssh://gnunet.org/gnunet, gnunet, 2017/04/19
- [GNUnet-SVN] [gnunet] 06/15: multicast: add new test case to Makefile.am, gnunet, 2017/04/19
- [GNUnet-SVN] [gnunet] 15/15: removed LIMIT expression from DELETE stmt. See http://sqlite.org/syntaxdiagrams.html#delete-stmt,
gnunet <=
- [GNUnet-SVN] [gnunet] 09/15: Merge branch 'master' of ssh://gnunet.org/gnunet, gnunet, 2017/04/19
- [GNUnet-SVN] [gnunet] 12/15: Merge branch 'master' of ssh://gnunet.org/gnunet, gnunet, 2017/04/19
- [GNUnet-SVN] [gnunet] 11/15: Merge branch 'master' of ssh://gnunet.org/gnunet, gnunet, 2017/04/19