From 08584667fcd93ccdfb7b870bb6349a96266d240b Mon Sep 17 00:00:00 2001 From: Tom Date: Thu, 17 Jul 2014 08:48:37 +1000 Subject: [PATCH] Remove sensitivity option from Levenshtein function --- src/res/levenshtein.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/res/levenshtein.sql b/src/res/levenshtein.sql index 3018aca..b589190 100644 --- a/src/res/levenshtein.sql +++ b/src/res/levenshtein.sql @@ -1,6 +1,6 @@ DELIMITER $$ DROP FUNCTION IF EXISTS levenshtein $$ -CREATE FUNCTION levenshtein( s1 VARCHAR(255), s2 VARCHAR(255), sensitivity INT ) +CREATE FUNCTION levenshtein( s1 VARCHAR(255), s2 VARCHAR(255) ) RETURNS INT DETERMINISTIC BEGIN @@ -39,4 +39,4 @@ ELSE END IF; RETURN c; END$$ -DELIMITER ; \ No newline at end of file +DELIMITER ;