aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/datacache/plugin_datacache_postgres.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/datacache/plugin_datacache_postgres.c b/src/datacache/plugin_datacache_postgres.c
index 61b699c8d..4e48d89df 100644
--- a/src/datacache/plugin_datacache_postgres.c
+++ b/src/datacache/plugin_datacache_postgres.c
@@ -108,6 +108,7 @@ init_connection (struct Plugin *plugin)
108 "SELECT length(value) AS len,oid,key FROM gn011dc" 108 "SELECT length(value) AS len,oid,key FROM gn011dc"
109 " ORDER BY prox ASC, discard_time ASC LIMIT 1", 109 " ORDER BY prox ASC, discard_time ASC LIMIT 1",
110 0), 110 0),
111 /* FIXME: do key >= ASC + UNION key <= DESC! */
111 GNUNET_PQ_make_prepare ("get_closest", 112 GNUNET_PQ_make_prepare ("get_closest",
112 "SELECT discard_time,type,value,path,key FROM gn011dc" 113 "SELECT discard_time,type,value,path,key FROM gn011dc"
113 " WHERE key >= $1" 114 " WHERE key >= $1"