aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPSQLExporter.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPSQLExporter.m')
-rw-r--r--Source/SPSQLExporter.m5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/SPSQLExporter.m b/Source/SPSQLExporter.m
index f72bb72f..94506728 100644
--- a/Source/SPSQLExporter.m
+++ b/Source/SPSQLExporter.m
@@ -316,9 +316,8 @@
useRawHexDataForColumnAtIndex[j] = YES;
}
- // Floats, integers and bits can be output directly assuming they're non-binary
- if (![[theColumnDetail objectForKey:@"binary"] boolValue]
- && ([theTypeGrouping isEqualToString:@"bit"] || [theTypeGrouping isEqualToString:@"integer"] || [theTypeGrouping isEqualToString:@"float"]))
+ // Floats, integers can be output directly assuming they're non-binary
+ if (![[theColumnDetail objectForKey:@"binary"] boolValue] && ([@[@"integer",@"float"] containsObject:theTypeGrouping]))
{
useRawDataForColumnAtIndex[j] = YES;
}