aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDataImport.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2011-05-09 00:35:29 +0000
committerrowanbeentje <rowan@beent.je>2011-05-09 00:35:29 +0000
commit4efbaf34545f7a11baf3b426b8a9b1c25f4f93c7 (patch)
tree24b5a71274b0f8fa3dd2042a535b650fe6e7ce34 /Source/SPDataImport.h
parentc6352d1c022fe694bec76dca6caf07eb97e72cdb (diff)
downloadsequelpro-4efbaf34545f7a11baf3b426b8a9b1c25f4f93c7.tar.gz
sequelpro-4efbaf34545f7a11baf3b426b8a9b1c25f4f93c7.tar.bz2
sequelpro-4efbaf34545f7a11baf3b426b8a9b1c25f4f93c7.zip
- When importing CSVs, or editing custom query results, set numeric fields to NULL instead of 0 if an empty string is entered. This matches TableContent behaviour and addresses Issue #1034.
Diffstat (limited to 'Source/SPDataImport.h')
-rw-r--r--Source/SPDataImport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPDataImport.h b/Source/SPDataImport.h
index f6e51299..b9810201 100644
--- a/Source/SPDataImport.h
+++ b/Source/SPDataImport.h
@@ -107,6 +107,8 @@
NSMutableIndexSet *geometryFieldsMapIndex;
NSMutableArray *bitFields;
NSMutableIndexSet *bitFieldsMapIndex;
+ NSMutableArray *nullableNumericFields;
+ NSMutableIndexSet *nullableNumericFieldsMapIndex;
NSSavePanel *currentExportPanel;
}