aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseData.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-04-21 16:59:58 +0000
committerstuconnolly <stuart02@gmail.com>2010-04-21 16:59:58 +0000
commit6b56ded1a0837cbb3b31765ab86c162eae82231a (patch)
tree376ca77211e3a3c06b8fe634b483a6327df05800 /Source/SPDatabaseData.h
parent9efc2f7c779b1b331ecb1f5938dd1a06f3dbc63b (diff)
downloadsequelpro-6b56ded1a0837cbb3b31765ab86c162eae82231a.tar.gz
sequelpro-6b56ded1a0837cbb3b31765ab86c162eae82231a.tar.bz2
sequelpro-6b56ded1a0837cbb3b31765ab86c162eae82231a.zip
Speed up SPDatabaseData by obtaining the server version when the connection is set to prevent multiple calls everytime the list of available storange engines, etc. is requested.
Diffstat (limited to 'Source/SPDatabaseData.h')
-rw-r--r--Source/SPDatabaseData.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/SPDatabaseData.h b/Source/SPDatabaseData.h
index acfbd37c..29c80aeb 100644
--- a/Source/SPDatabaseData.h
+++ b/Source/SPDatabaseData.h
@@ -38,6 +38,10 @@ typedef struct
{
NSString *characterSetEncoding;
+ NSInteger serverMajorVersion;
+ NSInteger serverMinorVersion;
+ NSInteger serverReleaseVersion;
+
NSMutableArray *collations;
NSMutableArray *characterSetCollations;
NSMutableArray *storageEngines;