diff options
author | Joseph <Joseph.xu@efrei.net> | 2023-01-04 07:44:34 -0500 |
---|---|---|
committer | Joseph <Joseph.xu@efrei.net> | 2023-01-04 07:44:34 -0500 |
commit | 2eb59d9135734b614509adc16fdb0f061d05634a (patch) | |
tree | 66d73fb79b0e49586109123ba2135475cb8a65db /src/exchangedb | |
parent | 6457ee56dfb148773167e45fb408176e7370f817 (diff) |
some corrections to batch2
Diffstat (limited to 'src/exchangedb')
-rw-r--r-- | src/exchangedb/exchange_do_batch2_reserves_in_insert.sql | 2 | ||||
-rw-r--r-- | src/exchangedb/exchange_do_batch_reserves_in_insert.sql | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/exchangedb/exchange_do_batch2_reserves_in_insert.sql b/src/exchangedb/exchange_do_batch2_reserves_in_insert.sql index 417b08ebf..d341642f9 100644 --- a/src/exchangedb/exchange_do_batch2_reserves_in_insert.sql +++ b/src/exchangedb/exchange_do_batch2_reserves_in_insert.sql @@ -148,7 +148,7 @@ BEGIN ,in_exchange_account_name ,in_wire_source_h_payto ,in_expiration_date), - (in3_reserve_pub + (in2_reserve_pub ,in2_wire_ref ,in2_credit_val ,in2_credit_frac diff --git a/src/exchangedb/exchange_do_batch_reserves_in_insert.sql b/src/exchangedb/exchange_do_batch_reserves_in_insert.sql index 4ae7f68a2..7c11bee83 100644 --- a/src/exchangedb/exchange_do_batch_reserves_in_insert.sql +++ b/src/exchangedb/exchange_do_batch_reserves_in_insert.sql @@ -94,9 +94,9 @@ transaction_duplicate= TRUE; RETURN; ELSE -- Unhappy... - RAISE EXCEPTION 'Reserve did not exist, but INSERT into reserves_in gave conflict'; +-- RAISE EXCEPTION 'Reserve did not exist, but INSERT into reserves_in gave conflict'; transaction_duplicate = TRUE; - ROLLBACK; +-- ROLLBACK; RETURN; END IF; RETURN; |