diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-03-31 13:38:33 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-03-31 13:38:33 +0000 |
commit | 6ab16708e84f0da9dbc26821c88e0c277d71c58e (patch) | |
tree | b2c0f732c3285e087622aa19b5ee46b775caa92f /Source/SPNavigatorController.h | |
parent | 4960324c8ec2b830ad4daf8ca313de82b2dc2b2c (diff) | |
download | sequelpro-6ab16708e84f0da9dbc26821c88e0c277d71c58e.tar.gz sequelpro-6ab16708e84f0da9dbc26821c88e0c277d71c58e.tar.bz2 sequelpro-6ab16708e84f0da9dbc26821c88e0c277d71c58e.zip |
• querying for db structure is queued for the same connection to avoid 'overlapping' access to global variables
• after querying db structure write back data on main thread
• completion list displays animated sync images if connection is just querying db structure data
• fixed some minor issue for completion list
• make sure that if last window of a connection is closed all relevant data will be removed from global variables
Note: please test!
Diffstat (limited to 'Source/SPNavigatorController.h')
-rw-r--r-- | Source/SPNavigatorController.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPNavigatorController.h b/Source/SPNavigatorController.h index 6c31b013..2833cd99 100644 --- a/Source/SPNavigatorController.h +++ b/Source/SPNavigatorController.h @@ -45,7 +45,7 @@ NSMutableDictionary *schemaDataFiltered; NSMutableDictionary *allSchemaKeys; NSMutableArray *infoArray; - NSMutableSet *updatingConnections; + NSMutableArray *updatingConnections; NSMutableDictionary *expandStatus1; NSMutableDictionary *expandStatus2; @@ -80,13 +80,13 @@ - (NSString*)tableInfoLabelForIndex:(NSInteger)index ofType:(NSInteger)type; - (void)updateNavigator:(NSNotification *)aNotification; -- (void)isUpdatingNavigator:(NSNotification *)aNotification; - (NSDictionary *)dbStructureForConnection:(NSString*)connectionID; - (NSArray *)allSchemaKeysForConnection:(NSString*)connectionID; - (NSArray *)getUniqueDbIdentifierFor:(NSString*)term andConnection:(NSString*)connectionID; - (BOOL)isUpdatingConnection:(NSString*)connectionID; +- (BOOL)isUpdating; - (void)restoreSelectedItems; - (void)setIgnoreUpdate:(BOOL)flag; |