gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: -fix copy and paste error


From: gnunet
Subject: [gnunet] branch master updated: -fix copy and paste error
Date: Wed, 23 Feb 2022 11:28:40 +0100

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

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 2c3dde157 -fix copy and paste error
2c3dde157 is described below

commit 2c3dde1578ea98dc2e7dafaabd61227a252d4ef0
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Feb 23 11:28:37 2022 +0100

    -fix copy and paste error
---
 src/datacache/plugin_datacache_sqlite.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/datacache/plugin_datacache_sqlite.c 
b/src/datacache/plugin_datacache_sqlite.c
index e5ee3e5a8..6f2165433 100644
--- a/src/datacache/plugin_datacache_sqlite.c
+++ b/src/datacache/plugin_datacache_sqlite.c
@@ -660,10 +660,10 @@ libgnunet_plugin_datacache_sqlite_init (void *cls)
                    "UNION "
                    "SELECT * FROM ("
                    " SELECT value,expire,path,type,key FROM ds091 "
-                   " WHERE key>=?1 "
+                   " WHERE key<=?1 "
                    "  AND expire >= ?2"
                    "  AND ( (type=?3) or (0 == ?3) )"
-                   " ORDER BY KEY ASC LIMIT ?4)",
+                   " ORDER BY KEY DESC LIMIT ?4)",
                    &plugin->get_closest_stmt)))
   {
     LOG_SQLITE (plugin->dbh,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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