aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-01-12 07:42:24 +0000
committerBibiko <bibiko@eva.mpg.de>2010-01-12 07:42:24 +0000
commit677dc919e0b679e85a1978a52a9c7de8efc40307 (patch)
tree306cf1993efc20adb41198e22a4a873200dcbafc /Source
parent21f0846b7ad5f3b1c755ae4f31fd68f6975bda7f (diff)
downloadsequelpro-677dc919e0b679e85a1978a52a9c7de8efc40307.tar.gz
sequelpro-677dc919e0b679e85a1978a52a9c7de8efc40307.tar.bz2
sequelpro-677dc919e0b679e85a1978a52a9c7de8efc40307.zip
• applied new detachNewThreadSelector:@selector(queryDbStructure) call to TablesList's updateTables method
Diffstat (limited to 'Source')
-rw-r--r--Source/TablesList.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TablesList.m b/Source/TablesList.m
index 97e2ec2c..742ac458 100644
--- a/Source/TablesList.m
+++ b/Source/TablesList.m
@@ -87,7 +87,7 @@
[[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryWillBePerformed" object:tableDocumentInstance];
// Query the structure of all databases in the background (mainly for completion)
- [mySQLConnection performSelector:@selector(queryDbStructure) withObject:nil afterDelay:0.5];
+ [NSThread detachNewThreadSelector:@selector(queryDbStructure) toTarget:mySQLConnection withObject:nil];
// Select the table list for the current database. On MySQL versions after 5 this will include
// views; on MySQL versions >= 5.0.02 select the "full" list to also select the table type column.