aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-23 11:28:37 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-23 11:28:37 +0100
commit2c3dde1578ea98dc2e7dafaabd61227a252d4ef0 (patch)
treef8df03087e8d2db4755b9f5097b60f009bb5df50 /src
parent0209b47aeddf61686fe08e946d8909860cfb161a (diff)
downloadgnunet-2c3dde1578ea98dc2e7dafaabd61227a252d4ef0.tar.gz
gnunet-2c3dde1578ea98dc2e7dafaabd61227a252d4ef0.zip
-fix copy and paste error
Diffstat (limited to 'src')
-rw-r--r--src/datacache/plugin_datacache_sqlite.c4
1 files 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)
660 "UNION " 660 "UNION "
661 "SELECT * FROM (" 661 "SELECT * FROM ("
662 " SELECT value,expire,path,type,key FROM ds091 " 662 " SELECT value,expire,path,type,key FROM ds091 "
663 " WHERE key>=?1 " 663 " WHERE key<=?1 "
664 " AND expire >= ?2" 664 " AND expire >= ?2"
665 " AND ( (type=?3) or (0 == ?3) )" 665 " AND ( (type=?3) or (0 == ?3) )"
666 " ORDER BY KEY ASC LIMIT ?4)", 666 " ORDER BY KEY DESC LIMIT ?4)",
667 &plugin->get_closest_stmt))) 667 &plugin->get_closest_stmt)))
668 { 668 {
669 LOG_SQLITE (plugin->dbh, 669 LOG_SQLITE (plugin->dbh,