From ebfd8ca1dac81755451a22e364daa851992b386e Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Mon, 12 Apr 2010 00:08:40 +0000 Subject: Add a new SPFileHandle class to support gzip compression and writing on a background thread, and integrate for SQL import: - Implement streaming reading of gzip-compressed files for SQL import - Support exporting SQL dumps into a gzip-compressed file - SPFileHandle supports the most-used subset of NSFileHandle commands for easy integration - Integrate zlib 1.2.4 for improved gzip streaming performance (and support for custom buffer sizes and file offset positions) This implements Issue #571 . --- Source/SPConstants.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/SPConstants.h') diff --git a/Source/SPConstants.h b/Source/SPConstants.h index e6574f31..4bda5116 100644 --- a/Source/SPConstants.h +++ b/Source/SPConstants.h @@ -223,7 +223,7 @@ extern NSString *SPFavoritesSortedInReverse; extern NSString *SPPrintWarningRowLimit; extern NSString *SPDisplayServerVersionInWindowTitle; -// Import +// Import and export extern NSString *SPCSVImportFieldTerminator; extern NSString *SPCSVImportLineTerminator; extern NSString *SPCSVImportFieldEnclosedBy; @@ -231,6 +231,7 @@ extern NSString *SPCSVImportFieldEscapeCharacter; extern NSString *SPCSVImportFirstLineIsHeader; extern NSString *SPCSVFieldImportMappingAlignment; extern NSString *SPImportClipboardTempFileNamePrefix; +extern NSString *SPSQLExportUseCompression; // Misc extern NSString *SPContentFilters; -- cgit v1.2.3