aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/PGPostgresConnectionQueryExecution.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2013-01-16 22:52:09 +0000
committerstuconnolly <stuart02@gmail.com>2013-01-16 22:52:09 +0000
commitf5e507a38ba2a73619cfc3349257507c445464af (patch)
tree41e45a2b66f843592f0ccc759a10b96be2f826b2 /Frameworks/PostgresKit/Source/PGPostgresConnectionQueryExecution.m
parentc2d9b3fd35e64cbb307cc04fb6789dc4656f9ca3 (diff)
downloadsequelpro-f5e507a38ba2a73619cfc3349257507c445464af.tar.gz
sequelpro-f5e507a38ba2a73619cfc3349257507c445464af.tar.bz2
sequelpro-f5e507a38ba2a73619cfc3349257507c445464af.zip
PostgresKit: Fix the integration tests as well as some issues that they highlighted.
Diffstat (limited to 'Frameworks/PostgresKit/Source/PGPostgresConnectionQueryExecution.m')
-rw-r--r--Frameworks/PostgresKit/Source/PGPostgresConnectionQueryExecution.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Frameworks/PostgresKit/Source/PGPostgresConnectionQueryExecution.m b/Frameworks/PostgresKit/Source/PGPostgresConnectionQueryExecution.m
index ee8853c7..3de02350 100644
--- a/Frameworks/PostgresKit/Source/PGPostgresConnectionQueryExecution.m
+++ b/Frameworks/PostgresKit/Source/PGPostgresConnectionQueryExecution.m
@@ -118,8 +118,8 @@ PGQueryParamData;
_lastQueryWasCancelled = NO;
if (!query ||
- ![query isKindOfClass:[NSString class]] ||
- ![query isKindOfClass:[PGPostgresStatement class]] ||
+ (![query isKindOfClass:[NSString class]] &&
+ ![query isKindOfClass:[PGPostgresStatement class]]) ||
![self isConnected])
{
return nil;