aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/MCPKit
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-11-23 02:15:45 +0000
committerrowanbeentje <rowan@beent.je>2009-11-23 02:15:45 +0000
commit1064dfa5438d493f996d52fd9b1554d121b93214 (patch)
treeb41093f58a98ff63607ea6268e1d8bee13ad07a4 /Frameworks/MCPKit
parent3c52d5ea78847330f86bad7548a8d1a9bd2f0df6 (diff)
downloadsequelpro-1064dfa5438d493f996d52fd9b1554d121b93214.tar.gz
sequelpro-1064dfa5438d493f996d52fd9b1554d121b93214.tar.bz2
sequelpro-1064dfa5438d493f996d52fd9b1554d121b93214.zip
- 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
Diffstat (limited to 'Frameworks/MCPKit')
-rw-r--r--Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m4
1 files changed, 2 insertions, 2 deletions
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);
}