diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-04-26 17:46:36 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-04-26 17:46:36 +0200 |
commit | 336f2d8991fe4b77b625415c179f68b387a2719b (patch) | |
tree | fe89fc465d87535339bf627c159ded1eff371599 /src/exchangedb/plugin_exchangedb_postgres.c | |
parent | 25aa208d122f8967d7821222a7809acfaf57abd3 (diff) |
-misc. minor fixes
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 8091cba41..238322c93 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -3483,8 +3483,8 @@ prepare_statements (struct PostgresClosure *pg) ",balance_frac" ",merge_timestamp" " FROM purse_requests" - " WHERE purse_pub=$1" - " LEFT JOIN purse_merges ON (purse_pub);", + " LEFT JOIN purse_merges USING (purse_pub)" + " WHERE purse_pub=$1;", 1), /* Used in #postgres_select_purse_request */ GNUNET_PQ_make_prepare ( |