aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2011-02-15 06:30:10 +0000
committerBibiko <bibiko@eva.mpg.de>2011-02-15 06:30:10 +0000
commitc1cd608e4974254e8806260eee3e7b2f57c126c7 (patch)
treefddd946faaa7f853d17a7d6b7cfc1763ef8c11e7
parent6aa6d20436a1e920151d86c086c64466173aa130 (diff)
downloadsequelpro-c1cd608e4974254e8806260eee3e7b2f57c126c7.tar.gz
sequelpro-c1cd608e4974254e8806260eee3e7b2f57c126c7.tar.bz2
sequelpro-c1cd608e4974254e8806260eee3e7b2f57c126c7.zip
• fixed bug while CSV Import for method UPDATE and INSERT remaining rows
- appended a ',' to the wrong NSString - fixes i978
-rw-r--r--Source/SPDataImport.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPDataImport.m b/Source/SPDataImport.m
index 0a521cc2..bfde3a26 100644
--- a/Source/SPDataImport.m
+++ b/Source/SPDataImport.m
@@ -1014,7 +1014,7 @@
insertBaseStringHasEntries = NO;
for (i = 0; i < [fieldMappingArray count]; i++) {
if ([NSArrayObjectAtIndex(fieldMapperOperator, i) integerValue] == 0) {
- if (insertBaseStringHasEntries) [insertBaseString appendString:@","];
+ if (insertBaseStringHasEntries) [insertRemainingBaseString appendString:@","];
else insertBaseStringHasEntries = YES;
[insertRemainingBaseString appendString:[NSArrayObjectAtIndex(fieldMappingTableColumnNames, i) backtickQuotedString]];
}