aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFileHandle.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-04-26 23:42:32 +0000
committerrowanbeentje <rowan@beent.je>2010-04-26 23:42:32 +0000
commit1d7de2c00dae782992e1c082fbf3e98fe3666b88 (patch)
tree2433baaa13234e09732d2e9f6e127a88674e5273 /Source/SPFileHandle.h
parent4826a8a8523690c063fd25797a3d7d232043f31a (diff)
downloadsequelpro-1d7de2c00dae782992e1c082fbf3e98fe3666b88.tar.gz
sequelpro-1d7de2c00dae782992e1c082fbf3e98fe3666b88.tar.bz2
sequelpro-1d7de2c00dae782992e1c082fbf3e98fe3666b88.zip
- Improve threading of SPFileHandle to achieve much faster writing due to increased separation of the writing thread. This results in a up-to 1.2x faster MySQL dump for fast servers, and makes SPFileHandle faster than NSFileHandle for writing data (either directly or GZIP compressed).
Diffstat (limited to 'Source/SPFileHandle.h')
-rw-r--r--Source/SPFileHandle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPFileHandle.h b/Source/SPFileHandle.h
index 05a8da0e..05e05dd5 100644
--- a/Source/SPFileHandle.h
+++ b/Source/SPFileHandle.h
@@ -44,6 +44,7 @@
int fileMode;
BOOL dataWritten;
+ BOOL allDataWritten;
BOOL fileIsClosed;
BOOL useGzip;
}