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