From 5d61e164670c386e73de8903dace40802f00fc00 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sun, 5 Dec 2010 00:40:09 +0000 Subject: Apply a tweaked version of a patch by Aaron Linville (http://www.linville.org/) to handle table linking in .dot exports on case-insensitive servers: - Adds a new checkbox on the .dot export interface controlling the case sensitivty of link handling - Improve .dot export to use lowercase link references when the option is enabled, fixing .dot exports of table relations of table names with uppercase characters on case-insensitive servers - Check the server's case-sensitivity setting and use that to control the checkbox when using the export interface to select .dot export This addresses Issue #920. --- Source/SPExportController.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Source/SPExportController.h') diff --git a/Source/SPExportController.h b/Source/SPExportController.h index 24c30b39..ff5c65ba 100644 --- a/Source/SPExportController.h +++ b/Source/SPExportController.h @@ -108,6 +108,9 @@ IBOutlet NSButton *exportXMLIncludeStructure; IBOutlet NSButton *exportXMLIncludeContent; IBOutlet NSTextField *exportXMLNULLValuesAsTextField; + + // Dot + IBOutlet NSButton *exportDotForceLowerTableNamesCheck; /** * Cancellation flag @@ -204,6 +207,11 @@ */ BOOL sqlPreviousConnectionEncodingViaLatin1; + /** + * The server's lower_case_table_names setting + */ + NSInteger serverLowerCaseTableNameValue; + NSInteger heightOffset1; NSInteger heightOffset2; NSUInteger windowMinWidth; -- cgit v1.2.3