projects
/
oweals
/
gnunet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
- use faster hash for tunnel hashmaps
[oweals/gnunet.git]
/
src
/
datastore
/
selectrandom.sql
1
select *
2
from (select random() as v from (values(1))) t1,
3
(select max(repl) as m from data) t2,
4
(select * from data
5
where repl=t2.m and
6
rnd>=t.v
7
order by rnd
8
limit 1)
9