diff options
author | stuconnolly <stuart02@gmail.com> | 2009-10-09 22:42:24 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-10-09 22:42:24 +0000 |
commit | 20256abbd66b16013af66cbc6e6e08f3f763459c (patch) | |
tree | 4b8fb4854c7bdb49138cf90baf0ae46a882c0ea6 /Source/SPExportController.h | |
parent | 9560da0d1e97fd834f05ed10c57a65744a6a3e70 (diff) | |
download | sequelpro-20256abbd66b16013af66cbc6e6e08f3f763459c.tar.gz sequelpro-20256abbd66b16013af66cbc6e6e08f3f763459c.tar.bz2 sequelpro-20256abbd66b16013af66cbc6e6e08f3f763459c.zip |
Yet more export redesign work. Export is now currently working for single tables, but produces deadlock errors when attempting to export multiple tables as a result of the initial streaming request for the tables' data all being done from the same thread. To resolve this each of the streaming requests will be made concurrently in separate operations and once the data is available a new concurrent operation (SPExporter subclass instance) will be spawned to perform the data conversion process.
Diffstat (limited to 'Source/SPExportController.h')
-rw-r--r-- | Source/SPExportController.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPExportController.h b/Source/SPExportController.h index eec8ce63..294f5851 100644 --- a/Source/SPExportController.h +++ b/Source/SPExportController.h @@ -27,6 +27,8 @@ #import "SPExporterDataAccess.h" +#import "SPLogger.h" + // Export type constants enum { SP_SQL_EXPORT = 1, @@ -67,6 +69,7 @@ typedef NSUInteger SPExportSource; IBOutlet id exportInputMatrix; IBOutlet id exportFilePerTableCheck; IBOutlet id exportFilePerTableNote; + IBOutlet id exportProcessLowMemory; // Export progress sheet IBOutlet id exportProgressWindow; @@ -116,6 +119,8 @@ typedef NSUInteger SPExportSource; // Concurrent operation queue NSOperationQueue *operationQueue; + + SPLogger *log; } @property (readwrite, assign) BOOL exportCancelled; |