diff options
author | stuconnolly <stuart02@gmail.com> | 2010-06-13 14:22:16 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-06-13 14:22:16 +0000 |
commit | ebd964e9a6d4b5975a806a4354f4df5ab28146d0 (patch) | |
tree | 7d7ec1977ee7059f041bf74b7e699550707e49e4 /Source/SPConstants.h | |
parent | f286f3f05162e663fb6bc6abaf2a08b1e02d1d86 (diff) | |
download | sequelpro-ebd964e9a6d4b5975a806a4354f4df5ab28146d0.tar.gz sequelpro-ebd964e9a6d4b5975a806a4354f4df5ab28146d0.tar.bz2 sequelpro-ebd964e9a6d4b5975a806a4354f4df5ab28146d0.zip |
Exporter ehancements:
- Make sure the export button is disabled when the global structure, content and drop options are enabled, but the desellect all button is checked.
- Replace the export dialog toolbar with a tabview, reducing the dialogs overall size.
- Add the option to SQL dumps to specify when a new INSERT statement should be created, either after a certain amount of data or after a specific number of rows (defaults to every 250KiB). Known issue: incorrect VALUES clause generation of last row when creating a new INSERT after a specific number of rows.
Diffstat (limited to 'Source/SPConstants.h')
-rw-r--r-- | Source/SPConstants.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/Source/SPConstants.h b/Source/SPConstants.h index 5b37e5fb..99d16583 100644 --- a/Source/SPConstants.h +++ b/Source/SPConstants.h @@ -53,13 +53,13 @@ typedef NSUInteger SPConnectionType; // Export type constants enum { - SPSQLExport = 1, - SPCSVExport = 2, - SPXMLExport = 3, + SPSQLExport = 0, + SPCSVExport = 1, + SPXMLExport = 2, + SPDotExport = 3, SPPDFExport = 4, SPHTMLExport = 5, - SPExcelExport = 6, - SPDotExport = 7 + SPExcelExport = 6 }; typedef NSUInteger SPExportType; @@ -71,6 +71,13 @@ enum { }; typedef NSUInteger SPExportSource; +// SQL export INSERT statment divider constants +enum { + SPSQLInsertEveryNDataBytes = 0, + SPSQLInsertEveryNRows = 1 +}; +typedef NSUInteger SPSQLExportInsertDivider; + // Table row count query usage levels typedef enum { SPRowCountFetchNever = 0, |