levenshtein edit distance in mysql stored proc