aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/exchange_do_reserves_in_insert.sql
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-07-28 23:27:02 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-07-28 23:27:02 +0200
commit6dedca0fa36bd30bbeb26be012ce3ac9d967065a (patch)
treebd87d5ee2b4f7309e552928bf68e10e84c32c2b1 /src/exchangedb/exchange_do_reserves_in_insert.sql
parenta1dae0199f3bc3e9f66fc1375c652c6f99b26b2c (diff)
taler_amount type introduced in reserves table and corresponding functionsnew-amount
- current_balance is now a taler_amount - all C-functions, SQL-statements and stored procedures adjusted accordingly. => make check passes all tests in testing.
Diffstat (limited to 'src/exchangedb/exchange_do_reserves_in_insert.sql')
-rw-r--r--src/exchangedb/exchange_do_reserves_in_insert.sql14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/exchangedb/exchange_do_reserves_in_insert.sql b/src/exchangedb/exchange_do_reserves_in_insert.sql
index e7018e51..fcf8ef4c 100644
--- a/src/exchangedb/exchange_do_reserves_in_insert.sql
+++ b/src/exchangedb/exchange_do_reserves_in_insert.sql
@@ -109,11 +109,8 @@ LANGUAGE plpgsql
AS $$
DECLARE
curs_reserve_exist REFCURSOR;
-DECLARE
k INT8;
-DECLARE
curs_transaction_exist REFCURSOR;
-DECLARE
i RECORD;
BEGIN
transaction_duplicate0 = TRUE;
@@ -295,11 +292,8 @@ LANGUAGE plpgsql
AS $$
DECLARE
curs_reserve_exist REFCURSOR;
-DECLARE
k INT8;
-DECLARE
curs_transaction_exist REFCURSOR;
-DECLARE
i RECORD;
BEGIN
transaction_duplicate0=TRUE;
@@ -587,13 +581,9 @@ LANGUAGE plpgsql
AS $$
DECLARE
curs_reserve_exist REFCURSOR;
-DECLARE
k INT8;
-DECLARE
curs_transaction_exist REFCURSOR;
-DECLARE
i RECORD;
-DECLARE
r RECORD;
BEGIN
@@ -949,13 +939,9 @@ LANGUAGE plpgsql
AS $$
DECLARE
curs REFCURSOR;
-DECLARE
conflict BOOL;
-DECLARE
dup BOOL;
-DECLARE
uuid INT8;
-DECLARE
i RECORD;
BEGIN