aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-05-27 22:32:27 +0000
committerstuconnolly <stuart02@gmail.com>2009-05-27 22:32:27 +0000
commita316ba498cf3300d05c8c2ba3223fa2c625d1717 (patch)
tree6ca7e017ee29c3f657850bba69f75f6719024de0
parentac8c315b5172e1e787302580d0509834bf0caae2 (diff)
downloadsequelpro-a316ba498cf3300d05c8c2ba3223fa2c625d1717.tar.gz
sequelpro-a316ba498cf3300d05c8c2ba3223fa2c625d1717.tar.bz2
sequelpro-a316ba498cf3300d05c8c2ba3223fa2c625d1717.zip
Forgot to add !, removed for testing.
-rw-r--r--Source/SPDatabaseData.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPDatabaseData.m b/Source/SPDatabaseData.m
index 52893233..a07ca5bc 100644
--- a/Source/SPDatabaseData.m
+++ b/Source/SPDatabaseData.m
@@ -158,7 +158,7 @@
CMMCPResult *result = [connection queryString:query];
// Log any errors
- if ([[connection getLastErrorMessage] isEqualToString:@""]) {
+ if (![[connection getLastErrorMessage] isEqualToString:@""]) {
NSLog(@"Error executing query in %@. MySQL said: %@", [self className], [connection getLastErrorMessage]);
}
else {