diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-01-12 07:42:24 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-01-12 07:42:24 +0000 |
commit | 677dc919e0b679e85a1978a52a9c7de8efc40307 (patch) | |
tree | 306cf1993efc20adb41198e22a4a873200dcbafc /Source | |
parent | 21f0846b7ad5f3b1c755ae4f31fd68f6975bda7f (diff) | |
download | sequelpro-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.m | 2 |
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. |