diff options
author | rowanbeentje <rowan@beent.je> | 2011-05-09 00:35:29 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2011-05-09 00:35:29 +0000 |
commit | 4efbaf34545f7a11baf3b426b8a9b1c25f4f93c7 (patch) | |
tree | 24b5a71274b0f8fa3dd2042a535b650fe6e7ce34 /Source/SPDataImport.h | |
parent | c6352d1c022fe694bec76dca6caf07eb97e72cdb (diff) | |
download | sequelpro-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.h | 2 |
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; } |