aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDump.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-03-05 15:42:28 +0000
committerBibiko <bibiko@eva.mpg.de>2010-03-05 15:42:28 +0000
commit666b48284293e8555b4604745a7abdcf5e01b22a (patch)
tree1e243e13e45025adb7f6b3a6a06f381a778b9893 /Source/TableDump.m
parentd63dff9e7b9f88799b5fa753c8a3510404aa17b8 (diff)
downloadsequelpro-666b48284293e8555b4604745a7abdcf5e01b22a.tar.gz
sequelpro-666b48284293e8555b4604745a7abdcf5e01b22a.tar.bz2
sequelpro-666b48284293e8555b4604745a7abdcf5e01b22a.zip
• CSV Import Field Mapper
- removed Advanced sheet, instead resize the main sheet and display these settings in it - added advanced options LOW/HIGH_PRIORITY - improved logic for adv. settings, disabling UPDATE if target table has less than 2 fields, etc. - fixed URL for displaying the source file name - removed Help text since it's too large - should be go to the general help • CMTextView - fixed bug if ESC Completion is invoked if caret position is 0 • fixed document URL handling to come up with the correct icons etc.
Diffstat (limited to 'Source/TableDump.m')
-rw-r--r--Source/TableDump.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/TableDump.m b/Source/TableDump.m
index 4ee19c57..222e9715 100644
--- a/Source/TableDump.m
+++ b/Source/TableDump.m
@@ -990,7 +990,7 @@
query = [[NSMutableString alloc] initWithString:insertBaseString];
for (i = 0; i < csvRowsPerQuery && i < [parsedRows count]; i++) {
if (i > 0) [query appendString:@",\n"];
- [query appendString:[self mappedValueStringForRowArray:[parsedRows objectAtIndex:i]]];
+ [query appendString:[[self mappedValueStringForRowArray:[parsedRows objectAtIndex:i]] description]];
csvRowsThisQuery++;
if ([query length] > 250000) break;
}
@@ -1004,6 +1004,7 @@
} else {
for (i = 0; i < [parsedRows count]; i++) {
if (progressCancelled) break;
+
query = [[NSMutableString alloc] initWithString:insertBaseString];
[query appendString:[self mappedUpdateSetStatementStringForRowArray:[parsedRows objectAtIndex:i]]];