diff options
author | Max <post@wickenrode.com> | 2015-10-31 01:26:59 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-10-31 01:26:59 +0100 |
commit | 57955871fb174eefc56dfedcd8222d2e68272ca5 (patch) | |
tree | ef6cb0497fbb0abefb20f1bb5c92a08612088a67 /Source/SPIndexesController.m | |
parent | d5dd74e8f3b1a73b125fa66db7b08b269933819d (diff) | |
download | sequelpro-57955871fb174eefc56dfedcd8222d2e68272ca5.tar.gz sequelpro-57955871fb174eefc56dfedcd8222d2e68272ca5.tar.bz2 sequelpro-57955871fb174eefc56dfedcd8222d2e68272ca5.zip |
Minimal refactoring
Diffstat (limited to 'Source/SPIndexesController.m')
-rw-r--r-- | Source/SPIndexesController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPIndexesController.m b/Source/SPIndexesController.m index a885ff01..5b239ec0 100644 --- a/Source/SPIndexesController.m +++ b/Source/SPIndexesController.m @@ -166,8 +166,8 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize"; // Check whether a save of the current field row is required. if (![tableStructure saveRowOnDeselect]) return; - isMyISAMTable = [[[tableData statusValues] objectForKey:@"Engine"] isEqualToString:@"MyISAM"]; - isInnoDBTable = [[[tableData statusValues] objectForKey:@"Engine"] isEqualToString:@"InnoDB"]; + isMyISAMTable = [[tableData statusValueForKey:@"Engine"] isEqualToString:@"MyISAM"]; + isInnoDBTable = [[tableData statusValueForKey:@"Engine"] isEqualToString:@"InnoDB"]; // Reset visibility of the primary key item [[[indexTypePopUpButton menu] itemWithTag:SPPrimaryKeyMenuTag] setHidden:NO]; |