~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to mysql-test/r/sp-error.result

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
ERROR 42000: PROCEDURE test.foo does not exist
46
46
drop procedure if exists foo|
47
47
Warnings:
48
 
Note    1305    PROCEDURE foo does not exist
 
48
Note    1305    PROCEDURE test.foo does not exist
49
49
show create procedure foo|
50
50
ERROR 42000: PROCEDURE foo does not exist
51
51
show create function foo|
796
796
10
797
797
drop function bug11834_1;
798
798
execute stmt;
799
 
ERROR 42000: FUNCTION test.bug11834_2 does not exist
 
799
ERROR 42000: FUNCTION test.bug11834_1 does not exist
800
800
deallocate prepare stmt;
801
801
drop function bug11834_2;
802
802
DROP FUNCTION IF EXISTS bug12953|
1027
1027
drop function bug_13627_f|
1028
1028
drop function if exists bug12329;
1029
1029
Warnings:
1030
 
Note    1305    FUNCTION bug12329 does not exist
 
1030
Note    1305    FUNCTION test.bug12329 does not exist
1031
1031
create table t1 as select 1 a;
1032
1032
create table t2 as select 1 a;
1033
1033
create function bug12329() returns int return (select a from t1);
1041
1041
bug12329()
1042
1042
101
1043
1043
execute stmt1;
1044
 
ERROR 42S02: Table 'test.t2' doesn't exist
 
1044
bug12329()
 
1045
101
1045
1046
deallocate prepare stmt1;
1046
1047
drop function bug12329;
1047
1048
drop table t1, t2;
1623
1624
declare continue handler for sqlstate '00000' set @x=0;
1624
1625
end$$
1625
1626
ERROR 42000: Bad SQLSTATE: '00000'
 
1627
drop procedure if exists p1;
 
1628
set @old_recursion_depth = @@max_sp_recursion_depth;
 
1629
set @@max_sp_recursion_depth = 255;
 
1630
create procedure p1(a int)
 
1631
begin
 
1632
declare continue handler for 1436 -- ER_STACK_OVERRUN_NEED_MORE
 
1633
select 'exception';
 
1634
call p1(a+1);
 
1635
end|
 
1636
call p1(1);
 
1637
set @@max_sp_recursion_depth = @old_recursion_depth;
 
1638
drop procedure p1;