Bonjour,

Que se passe-t-il avec cette fonction ?

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
delimiter |
drop function if exists toto|
create function toto (c int(1)) returns int(1)
begin
select @val := 1;
return @val;
end
|
delimiter ;
ERROR 1415 (0A000): Not allowed to return a result set from a function