summaryrefslogtreecommitdiff
path: root/src/datastore
diff options
context:
space:
mode:
authorxrs <xrs@mail36.net>2017-04-19 09:38:28 +0200
committerxrs <xrs@mail36.net>2017-04-19 09:38:28 +0200
commit1c2ab4aa3b9b563ad2098984b5751e67d3267778 (patch)
treece688792c043534558b7d24ad8a02f8ed48fb3cc /src/datastore
parent94d431574c4c4ce98db5382132b34300747ec574 (diff)
downloadgnunet-1c2ab4aa3b9b563ad2098984b5751e67d3267778.tar.gz
gnunet-1c2ab4aa3b9b563ad2098984b5751e67d3267778.zip
removed LIMIT expression from DELETE stmt. See http://sqlite.org/syntaxdiagrams.html#delete-stmt
Diffstat (limited to 'src/datastore')
-rw-r--r--src/datastore/plugin_datastore_sqlite.c3
1 files changed, 1 insertions, 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,
427 sq_prepare (plugin->dbh, 427 sq_prepare (plugin->dbh,
428 "DELETE FROM gn090 " 428 "DELETE FROM gn090 "
429 "WHERE hash = ? AND " 429 "WHERE hash = ? AND "
430 "value = ? " 430 "value = ? ",
431 "LIMIT 1",
432 &plugin->remove)) || 431 &plugin->remove)) ||
433 false) 432 false)
434 { 433 {