From 2c558dccc2235bfbd9c8f2114bbffa99c78c4af5 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Fri, 26 Mar 2010 13:14:54 +0000 Subject: Minor MCPKit tidy up, including the resolution of potential issues raised during static analysis. --- Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h') diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h b/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h index 65ee6423..b17f8584 100644 --- a/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h +++ b/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h @@ -23,8 +23,10 @@ // // More info at -#import +#import + #import "MCPResult.h" +#import "mysql.h" @class MCPConnection; @@ -39,20 +41,25 @@ typedef struct SP_MYSQL_ROWS { MCPConnection *parentConnection; MYSQL_FIELD *fieldDefinitions; + BOOL fullyStreaming; BOOL connectionUnlocked; BOOL dataDownloaded; BOOL dataFreed; + LOCAL_ROW_DATA *localDataStore; LOCAL_ROW_DATA *currentDataStoreEntry; LOCAL_ROW_DATA *localDataStoreLastEntry; + unsigned long localDataRows; unsigned long localDataAllocated; unsigned long downloadedRowCount; unsigned long processedRowCount; unsigned long freedRowCount; + pthread_mutex_t dataCreationLock; pthread_mutex_t dataFreeLock; + IMP isConnectedPtr; SEL isConnectedSEL; } -- cgit v1.2.3