Commit 4727620b authored by unknown's avatar unknown

After merge fix.


mysql-test/t/sp-error.test:
  Fixed error-codes after merging changes from the main tree.
parent 99cee821
...@@ -993,7 +993,7 @@ begin ...@@ -993,7 +993,7 @@ begin
end| end|
# If we allow recursive functions without additional modifications # If we allow recursive functions without additional modifications
# this will crash server since Item for "IN" is not reenterable. # this will crash server since Item for "IN" is not reenterable.
--error 1423 --error 1424
select bug11394(2)| select bug11394(2)|
drop function bug11394| drop function bug11394|
create function bug11394_1(i int) returns int create function bug11394_1(i int) returns int
...@@ -1006,7 +1006,7 @@ begin ...@@ -1006,7 +1006,7 @@ begin
end| end|
# The following statement will crash because some LEX members responsible # The following statement will crash because some LEX members responsible
# for selects cannot be used in reentrant fashion. # for selects cannot be used in reentrant fashion.
--error 1423 --error 1424
select bug11394_1(2)| select bug11394_1(2)|
drop function bug11394_1| drop function bug11394_1|
# Note that the following should be allowed since it does not contains # Note that the following should be allowed since it does not contains
...@@ -1022,7 +1022,7 @@ begin ...@@ -1022,7 +1022,7 @@ begin
end| end|
# Again if we allow recursion for stored procedures (without # Again if we allow recursion for stored procedures (without
# additional efforts) the following statement will crash the server. # additional efforts) the following statement will crash the server.
--error 1423 --error 1424
call bug11394(2, 1)| call bug11394(2, 1)|
drop procedure bug11394| drop procedure bug11394|
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