aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authordmoagx <post@wickenrode.com>2012-06-23 21:00:07 +0000
committerdmoagx <post@wickenrode.com>2012-06-23 21:00:07 +0000
commit9d5fcd3a9e71a01ae9b4916f2185326142dea0ca (patch)
tree01c3a56962c7524cde9c8e2013b007cdbcb2a515 /Source
parentefaf41faf367c778185545f0d47b02dee5424c4e (diff)
downloadsequelpro-9d5fcd3a9e71a01ae9b4916f2185326142dea0ca.tar.gz
sequelpro-9d5fcd3a9e71a01ae9b4916f2185326142dea0ca.tar.bz2
sequelpro-9d5fcd3a9e71a01ae9b4916f2185326142dea0ca.zip
* Add the engine to the table info panel. Implements #1257
Diffstat (limited to 'Source')
-rw-r--r--Source/SPTableInfo.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPTableInfo.m b/Source/SPTableInfo.m
index bb9abacd..d98be598 100644
--- a/Source/SPTableInfo.m
+++ b/Source/SPTableInfo.m
@@ -164,6 +164,11 @@
// Add the update date to the infoTable
[info addObject:[NSString stringWithFormat:NSLocalizedString(@"updated: %@", @"updated: %@"), [self _getUserDefinedDateStringFromMySQLDate:[tableStatus objectForKey:@"Update_time"]]]];
}
+
+ // Check for 'Engine' == NULL - should not happen (at least not with MySQL)
+ if (![[tableStatus objectForKey:@"Engine"] isNSNull]) {
+ [info addObject:[NSString stringWithFormat:NSLocalizedString(@"engine: %@", @"Table Info Section : Table Engine"), [tableStatus objectForKey:@"Engine"]]];
+ }
// Check for 'Rows' == NULL - information_schema database doesn't report row count for it's tables
if (![[tableStatus objectForKey:@"Rows"] isNSNull]) {