diff options
author | rowanbeentje <rowan@beent.je> | 2010-06-07 13:44:45 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-06-07 13:44:45 +0000 |
commit | 4c7cbdf882ad1e1bb1a5a11dc59dc53b90bee686 (patch) | |
tree | ffa901519ec9b970a76f6437feb39de65e04498a /Source/SPTableData.m | |
parent | 42781adb6cfa7f01f3763aade1b5043995930756 (diff) | |
download | sequelpro-4c7cbdf882ad1e1bb1a5a11dc59dc53b90bee686.tar.gz sequelpro-4c7cbdf882ad1e1bb1a5a11dc59dc53b90bee686.tar.bz2 sequelpro-4c7cbdf882ad1e1bb1a5a11dc59dc53b90bee686.zip |
A number of exporter improvements:
- Improve interface validation on the SQL view, including fixing no-content toggling
- Fix the export of views to correctly construct placeholder tables and fix view syntax export (this addresses Issue #707)
- Fix logic controlling Stored Procedure and Function export - fix hangs and allow correct export
- Handle permission errors when retrieving Stored Pro/Function syntax
- Improve export of linebreaks in CSV quoted cells for improved Excel compatibility
- SQL export now retrieves table syntax as it progresses through the tables - more accurate progress bar and removes initial pause when exporting lots of tables
- Alter filename construction to use centralised filename string: fixes end export Growl notification
- Improve dump comments
Diffstat (limited to 'Source/SPTableData.m')
-rw-r--r-- | Source/SPTableData.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPTableData.m b/Source/SPTableData.m index 35d7060b..6e169e09 100644 --- a/Source/SPTableData.m +++ b/Source/SPTableData.m @@ -781,7 +781,8 @@ // The character set has to be guessed at via the database encoding. // Add the details to the data object. viewData = [NSMutableDictionary dictionary]; - [viewData setObject:[NSString stringWithString:[tableDocumentInstance databaseEncoding]] forKey:@"encoding"]; + if (tableDocumentInstance) + [viewData setObject:[NSString stringWithString:[tableDocumentInstance databaseEncoding]] forKey:@"encoding"]; [viewData setObject:[NSArray arrayWithArray:tableColumns] forKey:@"columns"]; [tableColumns release]; |