DELIMITER $$ CREATE OR REPLACE DEFINER=`vn`@`localhost` FUNCTION `vn`.`getUser`() RETURNS int(11) DETERMINISTIC BEGIN /** * @deprecated Use account.userGetId() */ RETURN account.myUser_getId(); END$$ DELIMITER ;