diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-22 19:52:36 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-22 19:52:36 +0100 |
commit | 020df0bf2999e990806b72356c9a477b31b0142c (patch) | |
tree | b49d5185b97ebc9fe217f1802de3f7ebd93a0543 /src/datacache | |
parent | 7bc5bb42ae0dc9ef0bf529ceb0d287acfc340ef2 (diff) | |
download | gnunet-020df0bf2999e990806b72356c9a477b31b0142c.tar.gz gnunet-020df0bf2999e990806b72356c9a477b31b0142c.zip |
-add DHT FIXME
Diffstat (limited to 'src/datacache')
-rw-r--r-- | src/datacache/plugin_datacache_postgres.c | 1 |
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" |