From ebd964e9a6d4b5975a806a4354f4df5ab28146d0 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sun, 13 Jun 2010 14:22:16 +0000 Subject: 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. --- Source/SPExportInitializer.m | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/SPExportInitializer.m') diff --git a/Source/SPExportInitializer.m b/Source/SPExportInitializer.m index c0d6e043..d912f87a 100644 --- a/Source/SPExportInitializer.m +++ b/Source/SPExportInitializer.m @@ -270,6 +270,9 @@ [sqlExporter setSqlOutputCompressFile:[exportCompressOutputFile state]]; [sqlExporter setSqlOutputIncludeErrors:[exportSQLIncludeErrorsCheck state]]; + [sqlExporter setSqlInsertAfterNValue:[exportSQLInsertNValueTextField integerValue]]; + [sqlExporter setSqlInsertDivider:[exportSQLInsertDividerPopUpButton indexOfSelectedItem]]; + // Set generic properties [sqlExporter setConnection:connection]; [sqlExporter setExportOutputEncoding:[connection encoding]]; -- cgit v1.2.3