From 7de1a9a8517c2004e6a97543fbb1462d9c32f4d1 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Wed, 26 Aug 2009 00:46:24 +0000 Subject: Alter CustomQuery to use StreamingResult to download and process result sets: - Significantly improve memory usage - Minor speedup (1.1x faster?) to overall query/display times - Improvements to MCPStreamingResult and MCPConnection to accurately report affected row count --- Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h') diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h b/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h index 146f81e7..38e59d1d 100644 --- a/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h +++ b/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.h @@ -58,5 +58,6 @@ typedef struct SP_MYSQL_ROWS { // Results fetching - (NSArray *)fetchNextRowAsArray; +- (void) cancelResultLoad; @end \ No newline at end of file -- cgit v1.2.3