aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-12-13 19:06:14 +0000
committerstuconnolly <stuart02@gmail.com>2010-12-13 19:06:14 +0000
commit610dd4e029815fa6736f84be977b9fa3f291f1cf (patch)
tree33ee7591b10240a2d9e3af28d9110efdd4796e04 /Source/SPDatabaseDocument.m
parent43fdb6dea8dc9fabe70db153b98fe3f4f87b7a5e (diff)
parent2acbdc592b04e98fe5cacfedfe4638ef71d644ff (diff)
downloadsequelpro-610dd4e029815fa6736f84be977b9fa3f291f1cf.tar.gz
sequelpro-610dd4e029815fa6736f84be977b9fa3f291f1cf.tar.bz2
sequelpro-610dd4e029815fa6736f84be977b9fa3f291f1cf.zip
Bring outline view branch up to date with trunk (r3011:3016).
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r--Source/SPDatabaseDocument.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index a65dab2b..44d3965c 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -4816,6 +4816,9 @@
- (NSDictionary*)shellVariables
{
+
+ if(!_isConnected) return [NSDictionary dictionary];
+
NSMutableDictionary *env = [NSMutableDictionary dictionary];
if (tablesListInstance) {