diff options
author | Max <post@wickenrode.com> | 2015-10-08 22:18:18 +0200 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-10-08 22:18:18 +0200 |
commit | 602c224a4084c5cb804e1f30c7b4fe5fe068d91b (patch) | |
tree | 30644bf5da135c5668b56763abf8ccd7ced863b6 /Source | |
parent | 71c013de73875aa69d727fe6a4dde8a23a381f23 (diff) | |
download | sequelpro-602c224a4084c5cb804e1f30c7b4fe5fe068d91b.tar.gz sequelpro-602c224a4084c5cb804e1f30c7b4fe5fe068d91b.tar.bz2 sequelpro-602c224a4084c5cb804e1f30c7b4fe5fe068d91b.zip |
Fix uncompressed export causing a crash (issue introduced by me 2 commits ago in 1dedadcaba2cd474a251a24d893dc3b7b2a719a7)
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPFileHandle.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPFileHandle.m b/Source/SPFileHandle.m index 3e0489a4..49bcd4a4 100644 --- a/Source/SPFileHandle.m +++ b/Source/SPFileHandle.m @@ -145,6 +145,7 @@ union SPSomeFileHandle { } // In write mode, set up a thread to handle writing in the background else if (fileMode == O_WRONLY) { + wrappedFile->file = theFile; // can be changed later via setCompressionFormat: processingThread = [[NSThread alloc] initWithTarget:self selector:@selector(_writeBufferToData) object:nil]; [processingThread setName:@"SPFileHandle data writing thread"]; [processingThread start]; |