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