aboutsummaryrefslogtreecommitdiffstats
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
parentefaf41faf367c778185545f0d47b02dee5424c4e (diff)
downloadsequelpro-9d5fcd3a9e71a01ae9b4916f2185326142dea0ca.tar.gz
sequelpro-9d5fcd3a9e71a01ae9b4916f2185326142dea0ca.tar.bz2
sequelpro-9d5fcd3a9e71a01ae9b4916f2185326142dea0ca.zip
* Add the engine to the table info panel. Implements #1257
-rw-r--r--Resources/English.lproj/Localizable.stringsbin231572 -> 231712 bytes
-rw-r--r--Source/SPTableInfo.m5
2 files changed, 5 insertions, 0 deletions
diff --git a/Resources/English.lproj/Localizable.strings b/Resources/English.lproj/Localizable.strings
index 3994c05c..82ff3be1 100644
--- a/Resources/English.lproj/Localizable.strings
+++ b/Resources/English.lproj/Localizable.strings
Binary files differ
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]) {