aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPXMLExporter.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPXMLExporter.m')
-rw-r--r--Source/SPXMLExporter.m6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/SPXMLExporter.m b/Source/SPXMLExporter.m
index 8ff99e0d..1fc29c6f 100644
--- a/Source/SPXMLExporter.m
+++ b/Source/SPXMLExporter.m
@@ -27,7 +27,7 @@
#import "SPExportFile.h"
#import "SPFileHandle.h"
#import "SPExportUtilities.h"
-#import "SPMySQL.h"
+#import <SPMySQL/SPMySQL.h>
@implementation SPXMLExporter
@@ -258,7 +258,9 @@
[xmlItem setString:[NSString stringWithString:dataConversionString]];
[dataConversionString release];
- }
+ }
+
+ // Check for null value using a pointer comparison; as [NSNull null] is a singleton this works correctly.
else if (data == [NSNull null]) {
dataIsNULL = YES;