diff options
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; } |