]> 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:21 +0000 (01:54 +0000)
committerRobert Haas <rhaas@postgresql.org>
Thu, 10 Dec 2009 01:54:21 +0000 (01:54 +0000)
commit743ffa59b915328f372cb75c1000b69aeb24f5c1
treeea5f74dcc724edf48f279ebf9a7a914979925122
parente8df3579fe55fa45201d1d019709f0d7cd26b688
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