aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseData.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-09-09 15:21:33 +0000
committerBibiko <bibiko@eva.mpg.de>2010-09-09 15:21:33 +0000
commitda8879c2d94f6f849cec202972e0bb595ff5865f (patch)
tree15aa0e0d29a5f3a0ead60b0217cf584b36d67627 /Source/SPDatabaseData.h
parent09f05de9dacce173965aaff204a0254786580ab9 (diff)
downloadsequelpro-da8879c2d94f6f849cec202972e0bb595ff5865f.tar.gz
sequelpro-da8879c2d94f6f849cec202972e0bb595ff5865f.tar.bz2
sequelpro-da8879c2d94f6f849cec202972e0bb595ff5865f.zip
• [SPDatabase getDatabaseCollationsForEncoding:] now uses a cache to reduce the querying of info_schema
- this fixes the querying of each reloadData in [SPTableStructure objectValueFor:] • autoreleased mutableCopy in [SPTableStructure loadTable] • fixed drag&drop query in SPTableStructure to copy charset and collation as well
Diffstat (limited to 'Source/SPDatabaseData.h')
-rw-r--r--Source/SPDatabaseData.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPDatabaseData.h b/Source/SPDatabaseData.h
index 29c80aeb..f0b79b45 100644
--- a/Source/SPDatabaseData.h
+++ b/Source/SPDatabaseData.h
@@ -46,6 +46,7 @@ typedef struct
NSMutableArray *characterSetCollations;
NSMutableArray *storageEngines;
NSMutableArray *characterSetEncodings;
+ NSMutableDictionary *cachedCollationsByEncoding;
MCPConnection *connection;
}