adding FIXME

This commit is contained in:
Christian Grothoff 2023-04-08 08:10:56 +02:00
parent 36b2cbb47e
commit 3137d8dc13
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 3 additions and 2 deletions

View File

@ -123,6 +123,7 @@ THEN
-- Deposit exists, but with differences. Not allowed. -- Deposit exists, but with differences. Not allowed.
out_balance_ok=FALSE; out_balance_ok=FALSE;
out_conflict=TRUE; out_conflict=TRUE;
-- FIXME: out_exchange_timestamp not set on this path?
RETURN; RETURN;
END IF; END IF;

View File

@ -25,6 +25,8 @@
#include "pg_do_deposit.h" #include "pg_do_deposit.h"
#include "pg_helper.h" #include "pg_helper.h"
#include "pg_compute_shard.h" #include "pg_compute_shard.h"
enum GNUNET_DB_QueryStatus enum GNUNET_DB_QueryStatus
TEH_PG_do_deposit ( TEH_PG_do_deposit (
void *cls, void *cls,
@ -69,8 +71,6 @@ TEH_PG_do_deposit (
GNUNET_PQ_result_spec_end GNUNET_PQ_result_spec_end
}; };
/* Used in #postgres_do_deposit() to execute a deposit,
checking the coin's balance in the process as needed. */
PREPARE (pg, PREPARE (pg,
"call_deposit", "call_deposit",
"SELECT " "SELECT "