Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into feature/plcsql-p1
Browse files Browse the repository at this point in the history
  • Loading branch information
hgryoo committed Dec 12, 2024
2 parents 365c1e5 + 3fa73e6 commit 864e748
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ begin
<<inner>>
for j in 1 .. 3 loop
dbms_output.put_line('j=' || j);
continue outer when j % 2 = 0;
continue inner when j % 2 = 1;
continue outer when j mod 2 = 0;
continue inner when j mod 2 = 1;
dbms_output.put_line('unreachable');
end loop;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
create or replace procedure t(i int) as
begin
for i in 1 .. 5 loop
continue when i % 2 = 0;
continue when i mod 2 = 0;
dbms_output.put_line('i=' || i);
end loop;
end;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ begin
for i in 1 .. 5 loop

for j in 1 .. 5 loop
continue when j % 2 = 0;
continue when j mod 2 = 0;
dbms_output.put_line('j=' || j);
end loop;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
create or replace procedure t(i int) as
begin
for i in 1 .. 5 loop
exit when i % 2 = 0;
exit when i mod 2 = 0;
dbms_output.put_line('i=' || i);
end loop;
dbms_output.put_line('done');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ begin
for i in 1 .. 5 loop

for j in 1 .. 5 loop
exit when j % 2 = 0;
exit when j mod 2 = 0;
dbms_output.put_line('j=' || j);
end loop;

Expand Down

0 comments on commit 864e748

Please sign in to comment.