diff options
author | rowanbeentje <rowan@beent.je> | 2009-11-23 02:15:45 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-11-23 02:15:45 +0000 |
commit | 1064dfa5438d493f996d52fd9b1554d121b93214 (patch) | |
tree | b41093f58a98ff63607ea6268e1d8bee13ad07a4 /Frameworks | |
parent | 3c52d5ea78847330f86bad7548a8d1a9bd2f0df6 (diff) | |
download | sequelpro-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')
-rw-r--r-- | Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m | 4 |
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); } |