diff options
Diffstat (limited to 'Source/SPExtendedTableInfo.m')
-rw-r--r-- | Source/SPExtendedTableInfo.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/SPExtendedTableInfo.m b/Source/SPExtendedTableInfo.m index 2f38fe5e..1bea535a 100644 --- a/Source/SPExtendedTableInfo.m +++ b/Source/SPExtendedTableInfo.m @@ -368,6 +368,10 @@ value = [dateFormatter stringFromDate:[NSDate dateWithNaturalLanguageString:value]]; } + // Prefix number of rows with '~' if this is not a MyISAM table. Only MyISAM tables report the exact row count. + else if (([key isEqualToString:@"Rows"]) && (![[infoDict objectForKey:@"Engine"] isEqualToString:@"MyISAM"])) { + value = [@"~" stringByAppendingString:value]; + } } return [NSString stringWithFormat:@"%@: %@", label, ([value length] > 0) ? value : @"Not available"]; |