aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-04-22 02:33:18 +0200
committerChristian Grothoff <christian@grothoff.org>2023-04-22 02:33:18 +0200
commitbe1d8afaec27d7cda6fb858930557e5a9be5df15 (patch)
treed62c2bf5d7652d482fdeb8cc00e2b1b7af1d74f2 /src/exchangedb
parent0236caf3546acfc25dabe8f8f5763c64a6f55561 (diff)
-misc fixes
Diffstat (limited to 'src/exchangedb')
-rw-r--r--src/exchangedb/exchange_do_reserves_in_insert.sql9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/exchangedb/exchange_do_reserves_in_insert.sql b/src/exchangedb/exchange_do_reserves_in_insert.sql
index d68541f22..dd202a2ae 100644
--- a/src/exchangedb/exchange_do_reserves_in_insert.sql
+++ b/src/exchangedb/exchange_do_reserves_in_insert.sql
@@ -218,9 +218,8 @@ BEGIN
THEN
ruuid1 = i.reserve_uuid;
out_reserve_found1 = FALSE;
- EXIT loop_reserve;
END IF;
- EXIT loop_k;
+ EXIT loop_reserve;
END CASE;
END LOOP loop_k;
END LOOP loop_reserve;
@@ -462,9 +461,8 @@ BEGIN
THEN
ruuid3 = i.reserve_uuid;
out_reserve_found3 = FALSE;
- EXIT loop_reserve;
END IF;
- EXIT loop_k;
+ EXIT loop_reserve;
END CASE;
END LOOP loop_k;
END LOOP loop_reserve;
@@ -872,9 +870,8 @@ BEGIN
THEN
ruuid7 = i.reserve_uuid;
out_reserve_found7 = FALSE;
- EXIT loop_reserve;
END IF;
- EXIT loop_k;
+ EXIT loop_reserve;
END CASE;
END LOOP loop_k;
END LOOP loop_reserve;