diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-03-26 19:23:18 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-03-26 19:23:18 +0000 |
commit | f5edb22564ec1c3e834f20fd080a84ce581acfe4 (patch) | |
tree | af955d775594cd3713772c2d343111f270f94b91 /Source/SPNavigatorController.m | |
parent | 1c3c288b8cc26d8de7119e3fff9b1ad60c9ee63a (diff) | |
download | sequelpro-f5edb22564ec1c3e834f20fd080a84ce581acfe4.tar.gz sequelpro-f5edb22564ec1c3e834f20fd080a84ce581acfe4.tar.bz2 sequelpro-f5edb22564ec1c3e834f20fd080a84ce581acfe4.zip |
• navigator
- fixed issue if different connection windows are connected to the same connection
- prepared structure querying method to be able to add user info containing which table/db was changed if we know it to reduce the future parsing cost
Diffstat (limited to 'Source/SPNavigatorController.m')
-rw-r--r-- | Source/SPNavigatorController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPNavigatorController.m b/Source/SPNavigatorController.m index d8772b17..c5c6463d 100644 --- a/Source/SPNavigatorController.m +++ b/Source/SPNavigatorController.m @@ -492,7 +492,7 @@ static SPNavigatorController *sharedNavigatorController = nil; if ([[[NSDocumentController sharedDocumentController] documents] count]) { for(id doc in [[NSDocumentController sharedDocumentController] documents]) { if(![[doc valueForKeyPath:@"mySQLConnection"] isConnected]) continue; - [NSThread detachNewThreadSelector:@selector(queryDbStructureAndForceUpdate:) toTarget:[doc valueForKeyPath:@"mySQLConnection"] withObject:[NSNumber numberWithBool:YES]]; + [NSThread detachNewThreadSelector:@selector(queryDbStructureWithUserInfo:) toTarget:[doc valueForKeyPath:@"mySQLConnection"] withObject:[NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:YES], @"forceUpdate", nil]]; } } |