diff options
Diffstat (limited to 'Source/SPExportController.m')
-rw-r--r-- | Source/SPExportController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPExportController.m b/Source/SPExportController.m index caa504e7..dce7857b 100644 --- a/Source/SPExportController.m +++ b/Source/SPExportController.m @@ -445,7 +445,7 @@ MCPStreamingResult *queryResultStreaming = [connection streamingQueryString:[NSString stringWithFormat:@"SELECT * FROM %@", [tableName backtickQuotedString]] useLowMemoryBlockingStreaming:useLowMemoryBlockingStreaming]; // Note any errors during retrieval - if (![[connection getLastErrorMessage] isEqualToString:@""]) { + if ([connection queryErrored]) { [errors appendString:[NSString stringWithFormat:@"%@\n", [connection getLastErrorMessage]]]; } |