aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPSQLExporter.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPSQLExporter.m')
-rw-r--r--Source/SPSQLExporter.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/SPSQLExporter.m b/Source/SPSQLExporter.m
index 1374ccda..d999cc2b 100644
--- a/Source/SPSQLExporter.m
+++ b/Source/SPSQLExporter.m
@@ -396,10 +396,11 @@
[sqlString appendString:data];
[data release];
+
+ [sqlString appendString:@"'"];
}
-
- [sqlString appendString:@"'"];
}
+
// GEOMETRY data types directly as hex data
else if ([object isKindOfClass:[MCPGeometryData class]]) {
[sqlString appendFormat:@"X'%@'", [connection prepareBinaryData:[object data]]];