diff options
Diffstat (limited to 'Source/SPDatabaseData.m')
-rw-r--r-- | Source/SPDatabaseData.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPDatabaseData.m b/Source/SPDatabaseData.m index 24a0f204..52893233 100644 --- a/Source/SPDatabaseData.m +++ b/Source/SPDatabaseData.m @@ -158,8 +158,8 @@ CMMCPResult *result = [connection queryString:query]; // Log any errors - if (![[connection getLastErrorMessage] isEqualToString:@""]) { - NSLog(@""); + if ([[connection getLastErrorMessage] isEqualToString:@""]) { + NSLog(@"Error executing query in %@. MySQL said: %@", [self className], [connection getLastErrorMessage]); } else { [result dataSeek:0]; |