aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldMapperController.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-03-22 10:12:59 +0000
committerBibiko <bibiko@eva.mpg.de>2010-03-22 10:12:59 +0000
commitf4e32dd6a24793454e0af44a4429cdd9ca737724 (patch)
tree5c8964aa14c0885e10b6d45a0efa3503a5b28590 /Source/SPFieldMapperController.h
parent1c037fd0f3014833dd3c47d5c1b30d0e525536db (diff)
downloadsequelpro-f4e32dd6a24793454e0af44a4429cdd9ca737724.tar.gz
sequelpro-f4e32dd6a24793454e0af44a4429cdd9ca737724.tar.bz2
sequelpro-f4e32dd6a24793454e0af44a4429cdd9ca737724.zip
• fixed bug while CSV import
- calculate correctly whether global variables are used or not to avoid a crash if the number of columns in the csv file differs
Diffstat (limited to 'Source/SPFieldMapperController.h')
-rw-r--r--Source/SPFieldMapperController.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPFieldMapperController.h b/Source/SPFieldMapperController.h
index 26491bf0..d291399f 100644
--- a/Source/SPFieldMapperController.h
+++ b/Source/SPFieldMapperController.h
@@ -98,6 +98,7 @@
BOOL importFieldNamesHeader;
BOOL showAdvancedView;
BOOL targetTableHasPrimaryKey;
+
NSString *primaryKeyField;
NSNumber *lastDisabledCSVFieldcolumn;
@@ -127,8 +128,10 @@
- (NSArray*)fieldMappingArray;
- (NSArray*)fieldMappingTableColumnNames;
- (NSArray*)fieldMappingGlobalValueArray;
+- (NSArray*)fieldMappingTableDefaultValues;
- (BOOL)importFieldNamesHeader;
- (BOOL)insertRemainingRowsAfterUpdate;
+- (BOOL)globalValuesInUsage;
- (NSString*)onupdateString;
- (NSString*)importHeaderString;