This commit is contained in:
Christian Grothoff 2021-06-21 00:18:32 +02:00
parent 9c51720cbf
commit de41998d55
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -424,8 +424,7 @@ postgres_get_session (void *cls)
",gc_date" ",gc_date"
" FROM reserves" " FROM reserves"
" WHERE reserve_pub=$1" " WHERE reserve_pub=$1"
" LIMIT 1" " LIMIT 1;",
";", // FOR UPDATE;", // FIXME: helpful?
1), 1),
/* Used in #postgres_reserves_in_insert() when the reserve is new */ /* Used in #postgres_reserves_in_insert() when the reserve is new */
GNUNET_PQ_make_prepare ("reserve_create", GNUNET_PQ_make_prepare ("reserve_create",