aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableSource.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-03-30 09:10:02 +0000
committerBibiko <bibiko@eva.mpg.de>2010-03-30 09:10:02 +0000
commit5fd7c0a6c1f284a261d8e3cabe97db8601e2bd93 (patch)
tree5751ab514cf46a60676246b8ec5f748a88c61cf4 /Source/TableSource.m
parent2424d968ad5e6d9516b15fead3edf26d0183c450 (diff)
downloadsequelpro-5fd7c0a6c1f284a261d8e3cabe97db8601e2bd93.tar.gz
sequelpro-5fd7c0a6c1f284a261d8e3cabe97db8601e2bd93.tar.bz2
sequelpro-5fd7c0a6c1f284a261d8e3cabe97db8601e2bd93.zip
• some speed improvements and code simplifications for navigator
• avoid making the completion key list unique since it's possible to insert unique items only • added trigger to query db structure after SQL import • some work to avoid http://log.sequelpro.com/view/90 (not yet ideally - WIP)
Diffstat (limited to 'Source/TableSource.m')
-rw-r--r--Source/TableSource.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/TableSource.m b/Source/TableSource.m
index 83e3dde1..e80b7c43 100644
--- a/Source/TableSource.m
+++ b/Source/TableSource.m
@@ -863,8 +863,8 @@ closes the keySheet
// Mark the content table for refresh
[tablesListInstance setContentRequiresReload:YES];
- // Query the structure of all databases in the background (mainly for completion)
- [NSThread detachNewThreadSelector:@selector(queryDbStructureWithUserInfo:) toTarget:mySQLConnection withObject:[NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:YES], @"forceUpdate", nil]];
+ // Query the structure of all databases in the background
+ [NSThread detachNewThreadSelector:@selector(queryDbStructureWithUserInfo:) toTarget:mySQLConnection withObject:[NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:YES], @"forceUpdate", selectedTable, @"affectedItem", [NSNumber numberWithInt:[tablesListInstance tableType]], @"affectedItemType", nil]];
return YES;
}