Forums | Webyog
Tools to manage and monitor MySQL databases
forums › forums › SQLyog › SQLyog: Bugs / Feature Requests › Profiler With Stored Function
What is the problem? I am not able to understand!
Please provide a a complete test case (the stored function, the query you use, tables if they are required to reproduce this etc.).
not a bug sorry. mysql does not profile queries with stored functions
Thanks for the info!
But I think we should handle this better in SQLyog if query_id for a query returns = '0'. We will check what we can do!
DELIMITER $$
USE `mysql`$$
CREATE DEFINER=`root`@`localhost` FUNCTION `test`() RETURNS CHAR(10) CHARSET latin1
NOT DETERMINISTIC NO SQL
BEGIN
RETURN CURDATE();
END$$
DELIMITER ;
select mysql.test()
click on profiler tab
then click on the history tab
added here: http://code.google.com/p/sqlyog/issues/detail?id=1569
We will discuss the best implementation for such cases.