ansible/test/integration/targets/mysql_user/files/create-function.sql

9 lines
156 B
MySQL
Raw Normal View History

USE foo;
DELIMITER ;;
CREATE FUNCTION `function` () RETURNS tinyint(4)
BEGIN
DECLARE NAME_FOUND tinyint DEFAULT 0;
RETURN NAME_FOUND;
END;;
DELIMITER ;