DTD identifier | Deterministic | Data access | Mode |
---|---|---|---|
int(11) | NO | READS SQL DATA |
Get document from path
CREATE DEFINER=`root`@`localhost` FUNCTION `get_document`(vPath VARCHAR(127)) RETURNS int(11) READS SQL DATA COMMENT 'Get document from path' BEGIN IF NOT IFNULL(@tempdocpath = vPath, 0) THEN CALL get_document_sub(vPath); END IF; RETURN 1; END