diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-03-28 23:57:28 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-03-28 23:57:28 +0000 |
commit | 24b365b2a177d7de4cdbb7601424b6b1098a8414 (patch) | |
tree | 93959dbd99e4cb2b3b1ffcd9b264b241dabd1824 /Source/SPNavigatorController.h | |
parent | a7800682c2a2fcd9bb5c85d2f5f965486b3a72d5 (diff) | |
download | sequelpro-24b365b2a177d7de4cdbb7601424b6b1098a8414.tar.gz sequelpro-24b365b2a177d7de4cdbb7601424b6b1098a8414.tar.bz2 sequelpro-24b365b2a177d7de4cdbb7601424b6b1098a8414.zip |
- db structure for tables and views will now be queried by using SHOW… statements
- completion now works for server versions < 5 as well
- proc/func info will be queried by using information_schema for mysql >= 5
- changed completion logic to handle new format
- completion will get the info from SPNavigator since this controller caches all information about db structure
- optimization and fine-tuning will follow very soon
Diffstat (limited to 'Source/SPNavigatorController.h')
-rw-r--r-- | Source/SPNavigatorController.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPNavigatorController.h b/Source/SPNavigatorController.h index c0ff46fc..9181dbaf 100644 --- a/Source/SPNavigatorController.h +++ b/Source/SPNavigatorController.h @@ -45,6 +45,7 @@ NSMutableDictionary *schemaDataFiltered; NSMutableDictionary *allSchemaKeys; NSMutableArray *infoArray; + NSMutableSet *updatingConnections; NSMutableDictionary *expandStatus1; NSMutableDictionary *expandStatus2; @@ -65,7 +66,12 @@ - (void)updateEntriesForConnection:(NSString*)connectionID; - (NSString*)tableInfoLabelForIndex:(NSInteger)index ofType:(NSInteger)type; + - (void)updateNavigator:(NSNotification *)aNotification; +- (void)isUpdatingNavigator:(NSNotification *)aNotification; + +- (NSDictionary *)dbStructureForConnection:(NSString*)connectionID; + - (void)restoreSelectedItems; - (void)setIgnoreUpdate:(BOOL)flag; - (void)selectPath:(NSString*)schemaPath; |