aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableStructureLoading.m
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-07-02 23:46:51 +0200
committerMax <post@wickenrode.com>2015-07-02 23:46:51 +0200
commitc124db7ac403cdd92cc2c26e572f37f7b7d4ae75 (patch)
tree401d9839f330ad88e57dba86ae8f0c7230d5c6d8 /Source/SPTableStructureLoading.m
parent3c49b0f2bc16777f83cf57825448b6689ed344e1 (diff)
downloadsequelpro-c124db7ac403cdd92cc2c26e572f37f7b7d4ae75.tar.gz
sequelpro-c124db7ac403cdd92cc2c26e572f37f7b7d4ae75.tar.bz2
sequelpro-c124db7ac403cdd92cc2c26e572f37f7b7d4ae75.zip
Add some info which might help a bit with debugging threading issues
Diffstat (limited to 'Source/SPTableStructureLoading.m')
-rw-r--r--Source/SPTableStructureLoading.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTableStructureLoading.m b/Source/SPTableStructureLoading.m
index 1950c32e..5a1e8e10 100644
--- a/Source/SPTableStructureLoading.m
+++ b/Source/SPTableStructureLoading.m
@@ -287,7 +287,7 @@
[tableDocumentInstance setStatusRequiresReload:YES];
// Query the structure of all databases in the background (mainly for completion)
- [NSThread detachNewThreadWithName:@"SPNavigatorController database structure querier"
+ [NSThread detachNewThreadWithName:SPCtxt(@"SPNavigatorController database structure querier", tableDocumentInstance)
target:[tableDocumentInstance databaseStructureRetrieval]
selector:@selector(queryDbStructureWithUserInfo:)
object:@{@"forceUpdate" : @YES}];