From be1d8afaec27d7cda6fb858930557e5a9be5df15 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 22 Apr 2023 02:33:18 +0200 Subject: [PATCH] -misc fixes --- src/exchangedb/exchange_do_reserves_in_insert.sql | 9 +++------ 1 file 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;