From 5fd7c0a6c1f284a261d8e3cabe97db8601e2bd93 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 30 Mar 2010 09:10:02 +0000 Subject: =?UTF-8?q?=E2=80=A2=20some=20speed=20improvements=20and=20code=20?= =?UTF-8?q?simplifications=20for=20navigator=20=E2=80=A2=20avoid=20making?= =?UTF-8?q?=20the=20completion=20key=20list=20unique=20since=20it's=20poss?= =?UTF-8?q?ible=20to=20insert=20unique=20items=20only=20=E2=80=A2=20added?= =?UTF-8?q?=20trigger=20to=20query=20db=20structure=20after=20SQL=20import?= =?UTF-8?q?=20=E2=80=A2=20some=20work=20to=20avoid=20http://log.sequelpro.?= =?UTF-8?q?com/view/90=20(not=20yet=20ideally=20-=20WIP)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/TableSource.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/TableSource.m') 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; } -- cgit v1.2.3