aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseStructure.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPDatabaseStructure.m')
-rw-r--r--Source/SPDatabaseStructure.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/SPDatabaseStructure.m b/Source/SPDatabaseStructure.m
index 83ba38bb..6644e922 100644
--- a/Source/SPDatabaseStructure.m
+++ b/Source/SPDatabaseStructure.m
@@ -147,6 +147,14 @@
#pragma mark -
#pragma mark Structure retrieval from the server
+- (void)queryDbStructureInBackgroundWithUserInfo:(NSDictionary *)userInfo
+{
+ [NSThread detachNewThreadWithName:SPCtxt(@"SPNavigatorController database structure querier", delegate)
+ target:self
+ selector:@selector(queryDbStructureWithUserInfo:)
+ object:userInfo];
+}
+
/**
* Updates the dict containing the structure of all available databases (mainly for completion/navigator)
* executed on the helper connection.