diff options
author | rowanbeentje <rowan@beent.je> | 2009-08-02 11:55:24 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-08-02 11:55:24 +0000 |
commit | 89aed80bdcfdead340f9e5de5dc73ab051ae1f9b (patch) | |
tree | 658a640811c3c807f09cb8e43144f79b7f1fb2df /Source/SPArrayAdditions.h | |
parent | 8b672753ae94f76308557375ea13f373143d78cd (diff) | |
download | sequelpro-89aed80bdcfdead340f9e5de5dc73ab051ae1f9b.tar.gz sequelpro-89aed80bdcfdead340f9e5de5dc73ab051ae1f9b.tar.bz2 sequelpro-89aed80bdcfdead340f9e5de5dc73ab051ae1f9b.zip |
Overhaul CSV import functionality:
- When selecting CSVs SP will attempt to auto-detect the line endings to use
- Throw an error if the CSV to be imported appears to have more than 512 columns, usually due to wrong line ending/quote/etc selection
- Rewrite the CSV parser completely. New version correctly deals with CSV line terminators which are escaped or in enclosed content, correctly deals with quote strings which are the same as escape strings, and fixes a number of small edge cases. Performance on very long complex strings is slightly slower (~1.5 slower on long strings) but on large but simple tables is faster (~2.2x faster); memory usage is ~1.3x as high but all autoreleased. This addresses Issue #252.
Diffstat (limited to 'Source/SPArrayAdditions.h')
0 files changed, 0 insertions, 0 deletions