aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseData.h
diff options
context:
space:
mode:
authordmoagx <post@wickenrode.com>2013-03-10 03:54:28 +0000
committerdmoagx <post@wickenrode.com>2013-03-10 03:54:28 +0000
commit4db3922e4777aac10855d457ba4f2962fcd8fd8c (patch)
tree80b3bc537aecc922888f4c30e2536a6d1e999e91 /Source/SPDatabaseData.h
parentf551b70055c726fc2c96d93acfe3dfd1ac6c1f31 (diff)
downloadsequelpro-4db3922e4777aac10855d457ba4f2962fcd8fd8c.tar.gz
sequelpro-4db3922e4777aac10855d457ba4f2962fcd8fd8c.tar.bz2
sequelpro-4db3922e4777aac10855d457ba4f2962fcd8fd8c.zip
* Add support for querying the server default charset and collation
* Move a bit of redundant code into a method
Diffstat (limited to 'Source/SPDatabaseData.h')
-rw-r--r--Source/SPDatabaseData.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPDatabaseData.h b/Source/SPDatabaseData.h
index 9eb4551c..abd3a27b 100644
--- a/Source/SPDatabaseData.h
+++ b/Source/SPDatabaseData.h
@@ -46,6 +46,8 @@
NSString *characterSetEncoding;
NSString *defaultCharacterSetEncoding;
NSString *defaultCollation;
+ NSString *serverDefaultCharacterSetEncoding;
+ NSString *serverDefaultCollation;
NSString *defaultStorageEngine;
NSMutableArray *collations;
@@ -79,4 +81,7 @@
- (NSString *)getDatabaseDefaultCollation;
- (NSString *)getDatabaseDefaultStorageEngine;
+- (NSString *)getServerDefaultCharacterSet;
+- (NSString *)getServerDefaultCollation;
+
@end