aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExtendedTableInfo.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2013-03-19 01:32:28 +0000
committerrowanbeentje <rowan@beent.je>2013-03-19 01:32:28 +0000
commit46dd5cd5a759eb38aacc2e7f6e5f757fee60d3c2 (patch)
tree7b67782314f7ce52d8b95ec844532fddb85e2847 /Source/SPExtendedTableInfo.m
parentf3b93d4d0d3bf2cbeb9bd512781e93d4c630f752 (diff)
downloadsequelpro-46dd5cd5a759eb38aacc2e7f6e5f757fee60d3c2.tar.gz
sequelpro-46dd5cd5a759eb38aacc2e7f6e5f757fee60d3c2.tar.bz2
sequelpro-46dd5cd5a759eb38aacc2e7f6e5f757fee60d3c2.zip
- Fix errors when editing or moving columns on server vesions which do not support character sets/collations, addressing Issue #1629
- Fix needless collation queries on those servers - Disable field enums and table encoding dropdown on those servers
Diffstat (limited to 'Source/SPExtendedTableInfo.m')
-rw-r--r--Source/SPExtendedTableInfo.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPExtendedTableInfo.m b/Source/SPExtendedTableInfo.m
index 83aa059c..91c51a36 100644
--- a/Source/SPExtendedTableInfo.m
+++ b/Source/SPExtendedTableInfo.m
@@ -592,7 +592,7 @@ static NSString *SPUpdateTableTypeNewType = @"SPUpdateTableTypeNewType";
[tableTypePopUpButton setEnabled:(!isSystemSchemaDb)];
}
- if ([[databaseDataInstance getDatabaseCharacterSetEncodings] count] && [tableDataInstance tableEncoding]) {
+ if ([[databaseDataInstance getDatabaseCharacterSetEncodings] count] && [tableDataInstance tableEncoding] && [[tableDocumentInstance serverSupport] supportsPost41CharacterSetHandling]) {
[tableEncodingPopUpButton setEnabled:(!isSystemSchemaDb)];
}