diff options
author | rowanbeentje <rowan@beent.je> | 2010-10-25 20:22:23 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-10-25 20:22:23 +0000 |
commit | b0ba61dfc7d3adda17c312cbc5f07afb0f527454 (patch) | |
tree | a664326d0eca2d5e61f242c788806356cba8635b /Source/SPSQLExporter.m | |
parent | 2ece071d16072cf819e5ad89cdf0b5d14979ff02 (diff) | |
download | sequelpro-b0ba61dfc7d3adda17c312cbc5f07afb0f527454.tar.gz sequelpro-b0ba61dfc7d3adda17c312cbc5f07afb0f527454.tar.bz2 sequelpro-b0ba61dfc7d3adda17c312cbc5f07afb0f527454.zip |
- Fix incorrect quoting of BLOB fields on SQL exports
- Use indeterminate progress bars when importing BZIPped SQL files
- Support .tsv as a CSV extension, and automatically choose the field delineator based on .csv/.tsv extension
Diffstat (limited to 'Source/SPSQLExporter.m')
-rw-r--r-- | Source/SPSQLExporter.m | 5 |
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]]]; |