Commit 4940a91a authored by Alexander Barkov's avatar Alexander Barkov

A test clean-up for 7c78b27a33b749656cbc28091eac32bbbeee9e42

parent 81ba971d
...@@ -77,19 +77,14 @@ BEGIN ...@@ -77,19 +77,14 @@ BEGIN
v:=123; v:=123;
END; END;
BEGIN BEGIN
EXCEPTION
WHEN 1002 THEN v:=225;
END; END;
/ /
SHOW PROCEDURE CODE p1; SHOW PROCEDURE CODE p1;
Pos Instruction Pos Instruction
0 hpush_jump 3 1 EXIT 0 hpush_jump 3 1 EXIT
1 set v@0 123 1 set v@0 123
2 hreturn 0 6 2 hreturn 0 3
3 hpush_jump 6 1 EXIT 3 hpop 1
4 set v@0 225
5 hreturn 0 6
6 hpop 2
set @v= 10; set @v= 10;
CALL p1(@v); CALL p1(@v);
SELECT @v; SELECT @v;
...@@ -104,14 +99,19 @@ BEGIN ...@@ -104,14 +99,19 @@ BEGIN
v:=123; v:=123;
END; END;
BEGIN BEGIN
EXCEPTION
WHEN 1002 THEN v:=225;
END; END;
/ /
SHOW PROCEDURE CODE p1; SHOW PROCEDURE CODE p1;
Pos Instruction Pos Instruction
0 hpush_jump 3 1 EXIT 0 hpush_jump 3 1 EXIT
1 set v@0 123 1 set v@0 123
2 hreturn 0 3 2 hreturn 0 6
3 hpop 1 3 hpush_jump 6 1 EXIT
4 set v@0 225
5 hreturn 0 6
6 hpop 2
set @v= 10; set @v= 10;
CALL p1(@v); CALL p1(@v);
SELECT @v; SELECT @v;
......
...@@ -72,8 +72,6 @@ IS ...@@ -72,8 +72,6 @@ IS
v:=123; v:=123;
END; END;
BEGIN BEGIN
EXCEPTION
WHEN 1002 THEN v:=225;
END; END;
/ /
DELIMITER ;/ DELIMITER ;/
...@@ -93,6 +91,8 @@ IS ...@@ -93,6 +91,8 @@ IS
v:=123; v:=123;
END; END;
BEGIN BEGIN
EXCEPTION
WHEN 1002 THEN v:=225;
END; END;
/ /
DELIMITER ;/ DELIMITER ;/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment