aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportInitializer.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2011-07-24 19:39:41 +0000
committerstuconnolly <stuart02@gmail.com>2011-07-24 19:39:41 +0000
commitdf3c269342bcfb6fa343f16e10ad0b56f4b20852 (patch)
tree82dd1db55e7de22f46d7ec53d71de033f891af8f /Source/SPExportInitializer.m
parenta6b8cd46677d517b2aad5e8bf7543a8d307b211e (diff)
downloadsequelpro-df3c269342bcfb6fa343f16e10ad0b56f4b20852.tar.gz
sequelpro-df3c269342bcfb6fa343f16e10ad0b56f4b20852.tar.bz2
sequelpro-df3c269342bcfb6fa343f16e10ad0b56f4b20852.zip
Fix for NULL values in CSV export (same as last commit, but this one actually works).
Diffstat (limited to 'Source/SPExportInitializer.m')
-rw-r--r--Source/SPExportInitializer.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPExportInitializer.m b/Source/SPExportInitializer.m
index df615495..15ab192d 100644
--- a/Source/SPExportInitializer.m
+++ b/Source/SPExportInitializer.m
@@ -33,6 +33,7 @@
#import "SPDatabaseDocument.h"
#import "SPCustomQuery.h"
#import "SPAlertSheets.h"
+#import "SPTableContent.h"
#import "SPCSVExporter.h"
#import "SPSQLExporter.h"
@@ -98,7 +99,7 @@
switch (exportSource)
{
case SPFilteredExport:
- dataArray = [tableContentInstance currentResult];
+ dataArray = [tableContentInstance currentDataResultWithNULLs:YES];
break;
case SPQueryExport:
dataArray = [customQueryInstance currentResult];