aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-12-11 21:52:44 +0000
committerstuconnolly <stuart02@gmail.com>2010-12-11 21:52:44 +0000
commit1ddca4732c3aa46698b8fad25ce1294db3cd32fb (patch)
tree177ce5977ef37ea98ceae04bbce2f9ba73a0da4d /Source/SPDatabaseDocument.m
parent66f0041a06b8710cd3ed3b5ff2c8cbb54004efba (diff)
parentcb2baf9cb4ce1e33e6756969b1f71eb0e011f2c8 (diff)
downloadsequelpro-1ddca4732c3aa46698b8fad25ce1294db3cd32fb.tar.gz
sequelpro-1ddca4732c3aa46698b8fad25ce1294db3cd32fb.tar.bz2
sequelpro-1ddca4732c3aa46698b8fad25ce1294db3cd32fb.zip
Bring outlineview branch up to date with trunk (r2989:3005).
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r--Source/SPDatabaseDocument.m5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index f1ac803f..a7b85c21 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -4823,7 +4823,7 @@
[env setObject:[tablesListInstance selectedDatabase] forKey:@"SP_SELECTED_DATABASE"];
if ([tablesListInstance tableName])
- [env setObject:[tablesListInstance tableName] forKey:@"SP_SELECTED_TABLE"];
+ [env setObject:[tablesListInstance tableName] forKey:SPBundleShellVariableSelectedTable];
if ([tablesListInstance selectedTableItems])
[env setObject:[[tablesListInstance selectedTableItems] componentsJoinedByString:@"\t"] forKey:@"SP_SELECTED_TABLES"];
@@ -4852,8 +4852,7 @@
if ([self port])
[env setObject:[self port] forKey:@"SP_CURRENT_PORT"];
- if ([self databaseEncoding])
- [env setObject:[self databaseEncoding] forKey:@"SP_DATABASE_ENCODING"];
+ [env setObject:([self databaseEncoding])?:@"" forKey:@"SP_DATABASE_ENCODING"];
}