From 59527d9acd227a9a924fbd66ed29b85ea8b65a02 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sun, 10 Jul 2011 12:44:15 +0000 Subject: Add the option to the SQL export view as to whether or not the AUTO_INCREMENT value on a table's structure is included. Defaults to not included. Implements issue #1064. --- Source/SPExportInitializer.m | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/SPExportInitializer.m') diff --git a/Source/SPExportInitializer.m b/Source/SPExportInitializer.m index f9d23b63..df615495 100644 --- a/Source/SPExportInitializer.m +++ b/Source/SPExportInitializer.m @@ -275,6 +275,7 @@ [sqlExporter setSqlOutputIncludeUTF8BOM:[exportUseUTF8BOMButton state]]; [sqlExporter setSqlOutputEncodeBLOBasHex:[exportSQLBLOBFieldsAsHexCheck state]]; [sqlExporter setSqlOutputIncludeErrors:[exportSQLIncludeErrorsCheck state]]; + [sqlExporter setSqlOutputIncludeAutoIncrement:([exportSQLIncludeStructureCheck state] && [exportSQLIncludeAutoIncrementValueButton state])]; [sqlExporter setSqlInsertAfterNValue:[exportSQLInsertNValueTextField integerValue]]; [sqlExporter setSqlInsertDivider:[exportSQLInsertDividerPopUpButton indexOfSelectedItem]]; -- cgit v1.2.3