aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseData.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPDatabaseData.m')
-rw-r--r--Source/SPDatabaseData.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/SPDatabaseData.m b/Source/SPDatabaseData.m
index 4e40f998..8c4935d9 100644
--- a/Source/SPDatabaseData.m
+++ b/Source/SPDatabaseData.m
@@ -433,8 +433,7 @@ const SPDatabaseCharSets charsets[] =
MCPResult *result = [connection queryString:query];
- // Log any errors
- if ([[connection getLastErrorMessage] isEqualToString:@""]) {
+ if (![connection queryErrored]) {
[result dataSeek:0];
for (NSInteger i = 0; i < [result numOfRows]; i++)