salix/db/routines/util/functions/VN_CURDATE.sql

12 lines
201 B
MySQL
Raw Permalink Normal View History

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` FUNCTION `util`.`VN_CURDATE`()
RETURNS date
DETERMINISTIC
BEGIN
/**
* @return The mock date
*/
RETURN DATE(mockTime());
END$$
DELIMITER ;