diff options
author | dmoagx <post@wickenrode.com> | 2012-06-23 21:00:07 +0000 |
---|---|---|
committer | dmoagx <post@wickenrode.com> | 2012-06-23 21:00:07 +0000 |
commit | 9d5fcd3a9e71a01ae9b4916f2185326142dea0ca (patch) | |
tree | 01c3a56962c7524cde9c8e2013b007cdbcb2a515 | |
parent | efaf41faf367c778185545f0d47b02dee5424c4e (diff) | |
download | sequelpro-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.strings | bin | 231572 -> 231712 bytes | |||
-rw-r--r-- | Source/SPTableInfo.m | 5 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Resources/English.lproj/Localizable.strings b/Resources/English.lproj/Localizable.strings Binary files differindex 3994c05c..82ff3be1 100644 --- a/Resources/English.lproj/Localizable.strings +++ b/Resources/English.lproj/Localizable.strings 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]) { |