]> granicus.if.org Git - postgresql/commit
Fix levenshtein with costs. The previous code multiplied by the cost in only
authorRobert Haas <rhaas@postgresql.org>
Thu, 10 Dec 2009 01:54:17 +0000 (01:54 +0000)
committerRobert Haas <rhaas@postgresql.org>
Thu, 10 Dec 2009 01:54:17 +0000 (01:54 +0000)
commitda07641481bcad3d21f6d7cee0690a1c75f89c54
tree091f20f75fc6183778f70ad3d3576499c5aa928b
parent03d7b0647fa45a83724e440cf9c122327d436dd2
Fix levenshtein with costs.  The previous code multiplied by the cost in only
3 of the 7 relevant locations.

Marcin Mank, slightly adjusted by me.
contrib/fuzzystrmatch/fuzzystrmatch.c