diff options
author | stuconnolly <stuart02@gmail.com> | 2009-05-27 22:32:27 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-05-27 22:32:27 +0000 |
commit | a316ba498cf3300d05c8c2ba3223fa2c625d1717 (patch) | |
tree | 6ca7e017ee29c3f657850bba69f75f6719024de0 /Source/SPDatabaseData.m | |
parent | ac8c315b5172e1e787302580d0509834bf0caae2 (diff) | |
download | sequelpro-a316ba498cf3300d05c8c2ba3223fa2c625d1717.tar.gz sequelpro-a316ba498cf3300d05c8c2ba3223fa2c625d1717.tar.bz2 sequelpro-a316ba498cf3300d05c8c2ba3223fa2c625d1717.zip |
Forgot to add !, removed for testing.
Diffstat (limited to 'Source/SPDatabaseData.m')
-rw-r--r-- | Source/SPDatabaseData.m | 2 |
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 { |