What is wrong with this syntax?
mysql 5.5, phpmyadmin 3.4
delimiter ;;
create procedure foo(a text, b int, c text)
begin
select * from table_a where attribute1 like %a%
and attribute2 = b
and attribute3 like %c%
end
;;
phpmyadmin tells me wrong syntax at line 1, but it doesn't seem to work, no matter what.