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

12 lines
199 B
MySQL
Raw Normal View History

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