diff options
author | dmoagx <post@wickenrode.com> | 2013-03-07 19:46:08 +0000 |
---|---|---|
committer | dmoagx <post@wickenrode.com> | 2013-03-07 19:46:08 +0000 |
commit | c51d93d760b6ad47ac4256bdf564688cb9a5d2f8 (patch) | |
tree | 62f2d2793e7a46281d30c5f44218617bfbf4b59e /Source/SPServerSupport.m | |
parent | 2a7c3296a7186558446d136d4c87633126561371 (diff) | |
download | sequelpro-c51d93d760b6ad47ac4256bdf564688cb9a5d2f8.tar.gz sequelpro-c51d93d760b6ad47ac4256bdf564688cb9a5d2f8.tar.bz2 sequelpro-c51d93d760b6ad47ac4256bdf564688cb9a5d2f8.zip |
* Add support for querying MySQL 4 for collations
Diffstat (limited to 'Source/SPServerSupport.m')
-rw-r--r-- | Source/SPServerSupport.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPServerSupport.m b/Source/SPServerSupport.m index c2a139eb..b32a9dc2 100644 --- a/Source/SPServerSupport.m +++ b/Source/SPServerSupport.m @@ -55,6 +55,7 @@ @synthesize supportsInformationSchema; @synthesize supportsSpatialExtensions; @synthesize supportsShowCharacterSet; +@synthesize supportsShowCollation; @synthesize supportsCharacterSetDatabaseVar; @synthesize supportsPost41CharacterSetHandling; @synthesize supportsCreateUser; @@ -137,6 +138,9 @@ // The SHOW CHARACTER SET statement wasn't added until MySQL 4.1.0 supportsShowCharacterSet = [self isEqualToOrGreaterThanMajorVersion:4 minor:1 release:0]; + + // The SHOW COLLATION statement wasn't added until MySQL 4.1.0 + supportsShowCollation = [self isEqualToOrGreaterThanMajorVersion:4 minor:1 release:0]; // The variable 'character_set_database' wasn't added until MySQL 4.1.1 supportsCharacterSetDatabaseVar = [self isEqualToOrGreaterThanMajorVersion:4 minor:1 release:1]; @@ -258,6 +262,7 @@ supportsInformationSchema = NO; supportsSpatialExtensions = NO; supportsShowCharacterSet = NO; + supportsShowCollation = NO; supportsCharacterSetDatabaseVar = NO; supportsPost41CharacterSetHandling = NO; supportsCreateUser = NO; |