From 666b48284293e8555b4604745a7abdcf5e01b22a Mon Sep 17 00:00:00 2001 From: Bibiko Date: Fri, 5 Mar 2010 15:42:28 +0000 Subject: =?UTF-8?q?=E2=80=A2=20CSV=20Import=20Field=20Mapper=20-=20removed?= =?UTF-8?q?=20Advanced=20sheet,=20instead=20resize=20the=20main=20sheet=20?= =?UTF-8?q?and=20display=20these=20settings=20in=20it=20-=20added=20advanc?= =?UTF-8?q?ed=20options=20LOW/HIGH=5FPRIORITY=20-=20improved=20logic=20for?= =?UTF-8?q?=20adv.=20settings,=20disabling=20UPDATE=20if=20target=20table?= =?UTF-8?q?=20has=20less=20than=202=20fields,=20etc.=20-=20fixed=20URL=20f?= =?UTF-8?q?or=20displaying=20the=20source=20file=20name=20-=20removed=20He?= =?UTF-8?q?lp=20text=20since=20it's=20too=20large=20-=20should=20be=20go?= =?UTF-8?q?=20to=20the=20general=20help=20=E2=80=A2=20CMTextView=20-=20fix?= =?UTF-8?q?ed=20bug=20if=20ESC=20Completion=20is=20invoked=20if=20caret=20?= =?UTF-8?q?position=20is=200=20=E2=80=A2=20fixed=20document=20URL=20handli?= =?UTF-8?q?ng=20to=20come=20up=20with=20the=20correct=20icons=20etc.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/TableDump.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/TableDump.m') 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]]]; -- cgit v1.2.3