aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAboutController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2011-02-03 10:40:50 +0000
committerBibiko <bibiko@eva.mpg.de>2011-02-03 10:40:50 +0000
commit0a5e51795bde1f4d6dd3ff49b5af0829c2fdbcdd (patch)
tree00e64faf3f8cec07d409c4f3d30aac542ff5c095 /Source/SPAboutController.m
parent957b8a38e9bc7a5f3f79eb6521d2adab2de9811a (diff)
downloadsequelpro-0a5e51795bde1f4d6dd3ff49b5af0829c2fdbcdd.tar.gz
sequelpro-0a5e51795bde1f4d6dd3ff49b5af0829c2fdbcdd.tar.bz2
sequelpro-0a5e51795bde1f4d6dd3ff49b5af0829c2fdbcdd.zip
• improve CSV field mapping method to align file header names with table column names
- first calculate Levenshtein distance; if it is greater than 0 then subtract the length of shared prefix, suffix, and in common character sequence - avoid mapping of already mapped file header names, instead take the next best match not mapped
Diffstat (limited to 'Source/SPAboutController.m')
0 files changed, 0 insertions, 0 deletions