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