aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPTableData.m2
-rw-r--r--Source/TableContent.m6
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPTableData.m b/Source/SPTableData.m
index f62daabd..007dd201 100644
--- a/Source/SPTableData.m
+++ b/Source/SPTableData.m
@@ -199,7 +199,7 @@
* via other means and are subsequently more accurate than the value currently set.
*/
- (void)setStatusValue:(NSString *)value forKey:(NSString *)key
-{
+{
[status setValue:value forKey:key];
}
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;
}