summaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-06-21 00:18:32 +0200
committerChristian Grothoff <christian@grothoff.org>2021-06-21 00:18:32 +0200
commitde41998d55b6b419fded6ec443182d6de9bf3719 (patch)
treead6284559907f2240311e82954dbb1b6ecd91f85 /src/exchangedb/plugin_exchangedb_postgres.c
parent9c51720cbfb86c89bc1f1872432c4f6a66fba5bd (diff)
downloadexchange-de41998d55b6b419fded6ec443182d6de9bf3719.tar.gz
exchange-de41998d55b6b419fded6ec443182d6de9bf3719.tar.bz2
exchange-de41998d55b6b419fded6ec443182d6de9bf3719.zip
-useless
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index 1ab5ff3e..6536bdc3 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -424,8 +424,7 @@ postgres_get_session (void *cls)
",gc_date"
" FROM reserves"
" WHERE reserve_pub=$1"
- " LIMIT 1"
- ";", // FOR UPDATE;", // FIXME: helpful?
+ " LIMIT 1;",
1),
/* Used in #postgres_reserves_in_insert() when the reserve is new */
GNUNET_PQ_make_prepare ("reserve_create",