diff options
author | stuconnolly <stuart02@gmail.com> | 2010-06-10 12:34:49 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-06-10 12:34:49 +0000 |
commit | bea411be2e4193e9488e6cc5fac30045f6fb7f82 (patch) | |
tree | 7c83a9f6a26e4d7689a3c0df04cd26d9591c2ec0 /Source/SPExportInitializer.m | |
parent | 8af7ab7046ab834bc392a0eb31128c7d0647fd53 (diff) | |
download | sequelpro-bea411be2e4193e9488e6cc5fac30045f6fb7f82.tar.gz sequelpro-bea411be2e4193e9488e6cc5fac30045f6fb7f82.tar.bz2 sequelpro-bea411be2e4193e9488e6cc5fac30045f6fb7f82.zip |
Exporter fixes:
- Correctly disable exporting custom query results as SQL and enable for all other formats.
- Fix CSV exports when exporting from a source other than the selected tables.
- Correctly export custom query results instead of all tables as a result of a missing IB connection.
Diffstat (limited to 'Source/SPExportInitializer.m')
-rw-r--r-- | Source/SPExportInitializer.m | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/SPExportInitializer.m b/Source/SPExportInitializer.m index 7a03c110..c0d6e043 100644 --- a/Source/SPExportInitializer.m +++ b/Source/SPExportInitializer.m @@ -467,9 +467,6 @@ // sure the table name is included to ensure the output files are unique. [exportFilename setString:([[exportCustomFilenameTokenField stringValue] rangeOfString:@"table" options:NSLiteralSearch].location == NSNotFound) ? [exportFilename stringByAppendingFormat:@"_%@", table] : exportFilename]; } - else { - [exportFilename setString:table]; - } fileHandle = [self getFileHandleForFilePath:[[exportPathField stringValue] stringByAppendingPathComponent:exportFilename]]; |