I was attempting to upgrade per request and downloaded the new installer and it fails at initializing database stored functions
mysql_upgrade -u root -p
DELIMITER $$
CREATE FUNCTION `es_isfriend` (p_source int, p_target int)
RETURNS INT DETERMINISTIC
BEGIN
DECLARE cnt INT;
select count(1) into cnt from `jos_social_friends` where ( actor_id = p_source and target_id = p_target) OR (target_id = p_source and actor_id = p_target) and state = 1;
RETURN cnt;
END
$$
DELIMITER ;