Creo que deberia ir asi
Código MySQL:
Ver original-- Switch delimiter so the ; will work in the function body
DELIMITER $$
-- Create the function
COMMENT 'Calculate the distance between two points'
-- Switch the delimiter back to ;
DELIMITER ;
Pero me sale un error al crear la funcion
Script line: 5 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '',', b ,')'));
END' at line 5
que puede ser?
saludos