diff options
author | rowanbeentje <rowan@beent.je> | 2009-11-24 02:12:19 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-11-24 02:12:19 +0000 |
commit | c8f01e3d2c987166dab31cc46d4f9827a7dc5f4d (patch) | |
tree | b9577397bc1b67992db4846bf41a513cf78dbd8b /Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h | |
parent | 6b39013007536d9cad5b958633740f65891c6475 (diff) | |
download | sequelpro-c8f01e3d2c987166dab31cc46d4f9827a7dc5f4d.tar.gz sequelpro-c8f01e3d2c987166dab31cc46d4f9827a7dc5f4d.tar.bz2 sequelpro-c8f01e3d2c987166dab31cc46d4f9827a7dc5f4d.zip |
- Fix a couple of thread safety issues in TableContent, and attempt to fix an occasional crasher when getting table cells by adding a retain
- Alter MCPStreamingResult to use pthread mutexes in a further attempt to address Issue #463
Diffstat (limited to 'Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h')
-rw-r--r-- | Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h b/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h index 38e59d1d..2f5ec638 100644 --- a/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h +++ b/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h @@ -51,6 +51,8 @@ typedef struct SP_MYSQL_ROWS { unsigned long downloadedRowCount; unsigned long processedRowCount; unsigned long freedRowCount; + pthread_mutex_t dataCreationLock; + pthread_mutex_t dataFreeLock; } - (id)initWithMySQLPtr:(MYSQL *)mySQLPtr encoding:(NSStringEncoding)theEncoding timeZone:(NSTimeZone *)theTimeZone connection:(MCPConnection *)theConnection; |