diff options
author | stuconnolly <stuart02@gmail.com> | 2009-07-21 23:36:31 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-07-21 23:36:31 +0000 |
commit | 69a1f6a02d8aee011f47507d44d90b35c5b5aece (patch) | |
tree | 5cd9f7efa8efb4b3aeca36e6cb00d7280b70bc50 /Source/TableContent.m | |
parent | 40dc17254dc86699d0c4e9f9eea235c5a7f5f6b9 (diff) | |
download | sequelpro-69a1f6a02d8aee011f47507d44d90b35c5b5aece.tar.gz sequelpro-69a1f6a02d8aee011f47507d44d90b35c5b5aece.tar.bz2 sequelpro-69a1f6a02d8aee011f47507d44d90b35c5b5aece.zip |
Disable updating the number of rows in the selected table in the table data cache within getNumberOfRows after the discovery of much larger issue.
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r-- | Source/TableContent.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m index 5e0def75..263b48dd 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -1668,15 +1668,15 @@ * Queries the number from MySQL if enabled in prefs and result is limited, otherwise just return the fullResult count. */ - (int)getNumberOfRows -{ +{ if ([prefs boolForKey:@"LimitResults"] && [prefs boolForKey:@"FetchCorrectRowCount"]) { numRows = [self fetchNumberOfRows]; } else { numRows = [fullResult count]; } - + // Update table data cache with the more accurate row count - [tableDataInstance setStatusValue:[NSString stringWithFormat:@"%d", numRows] forKey:@"Rows"]; + //[tableDataInstance setStatusValue:[NSString stringWithFormat:@"%d", numRows] forKey:@"Rows"]; return numRows; } |