aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDataImport.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-10-10 08:48:54 +0000
committerBibiko <bibiko@eva.mpg.de>2010-10-10 08:48:54 +0000
commit9ea6eae511d5f5bccb36ae5c31e961635ce2cc33 (patch)
tree41c1c4c8f63cc584bc0cf44a1a3215d062447d74 /Source/SPDataImport.m
parent31a31c1fb9d46e9c6db1c836e03314b0b534194c (diff)
downloadsequelpro-9ea6eae511d5f5bccb36ae5c31e961635ce2cc33.tar.gz
sequelpro-9ea6eae511d5f5bccb36ae5c31e961635ce2cc33.tar.bz2
sequelpro-9ea6eae511d5f5bccb36ae5c31e961635ce2cc33.zip
• fixed issue of unnecessary string escaping for importing spatial data via GeomFromText()
• minor code cosmetics
Diffstat (limited to 'Source/SPDataImport.m')
-rw-r--r--Source/SPDataImport.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPDataImport.m b/Source/SPDataImport.m
index 98cbb697..32d00382 100644
--- a/Source/SPDataImport.m
+++ b/Source/SPDataImport.m
@@ -1358,7 +1358,7 @@
} else {
// Apply GeomFromText() for each geometry field
if([geometryFields count] && [geometryFieldsMapIndex containsIndex:i]) {
- [valueString appendString:[mySQLConnection prepareString:[(NSString*)cellData getGeomFromTextFromString]]];
+ [valueString appendString:[(NSString*)cellData getGeomFromTextString]];
} else {
[valueString appendFormat:@"'%@'", [mySQLConnection prepareString:cellData]];
}