Hi guys, the following code makes a call to a function that I cant seem to find on the db.
Basically, I have two dbs and am moving from one to the other. I almost there apart from this last thing prevents things from running.
CREATE DEFINER=`root`@`localhost` FUNCTION `makehash`(description text, raw_location text, title text) RETURNS varchar(32) CHARSET utf8
declare data longtext;
declare hash varchar(32);
set data = ifnull(description, '');
set hash = null;
if length(data) > 64 then
set data = lower(concat(data, ifnull(raw_location, ''), ifnull(title, '')));
set hash = md5(preg_replace('/[^a-z]/', '', data));
I have run
show procedure status
but can't see this anywhere.
show function status
Are there another mysql constructs like functions and procedures that can be called like this that I may have missed?