From 1064dfa5438d493f996d52fd9b1554d121b93214 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Mon, 23 Nov 2009 02:15:45 +0000 Subject: - Replace the LIMIT interface on the content view with a pagination control at the bottom. This addresses the last of Issue #49 and implements Issue #133; jump-to and two prefs affecting loading are available in a popup when clicking the pagination interface. - Format row counts at the bottom of the content pane - Increase the MCPStreamingResult buffer for a stronger workaround for #463 --- Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Frameworks/MCPKit') diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m b/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m index 008dd870..84120505 100644 --- a/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m +++ b/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m @@ -162,10 +162,10 @@ // Check to see whether we need to wait for the data to be availabe // - if so, wait 1ms before checking again. - // Keep the data processing thread at least one full row behind the download + // Keep the data processing thread at a number of rows behind the download // thread - this aids memory issues across the threads and prevents occasional // race condition crashes. - while (!dataDownloaded && (processedRowCount + 2 > downloadedRowCount)) { + while (!dataDownloaded && (processedRowCount + 10 > downloadedRowCount)) { usleep(1000); } -- cgit v1.2.3