File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ declare
4545 i integer;
4646begin
4747 -- Insert arrays with 'step' elements each, until an error occurs.
48+ i := 0;
4849 loop
4950 begin
5051 select insert_n(next_i, step) into next_i;
@@ -53,12 +54,12 @@ begin
5354 exit;
5455 end;
5556
56- -- The caller is expected to set an injection point that eventuall
57+ -- The caller is expected to set an injection point that eventually
5758 -- causes an error. But bail out if still no error after 10000
5859 -- attempts, so that we don't get stuck in an infinite loop.
5960 i := i + 1;
6061 if i = 10000 then
61- raise 'no error on inserts after ' ;
62+ raise 'no error on inserts after % iterations', i ;
6263 end if;
6364 end loop;
6465
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ declare
4848 i integer ;
4949begin
5050 -- Insert arrays with 'step' elements each, until an error occurs.
51+ i := 0 ;
5152 loop
5253 begin
5354 select insert_n(next_i, step) into next_i;
@@ -56,12 +57,12 @@ begin
5657 exit;
5758 end;
5859
59- -- The caller is expected to set an injection point that eventuall
60+ -- The caller is expected to set an injection point that eventually
6061 -- causes an error. But bail out if still no error after 10000
6162 -- attempts, so that we don't get stuck in an infinite loop.
6263 i := i + 1 ;
6364 if i = 10000 then
64- raise ' no error on inserts after ' ;
65+ raise ' no error on inserts after % iterations ' , i ;
6566 end if;
6667 end loop;
6768
You can’t perform that action at this time.
0 commit comments