aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m')
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m5
1 files changed, 0 insertions, 5 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m b/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m
index 29fcfea6..c8207dd9 100644
--- a/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m
+++ b/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m
@@ -223,11 +223,6 @@ FLXQueryParamData;
(const int *)paramData->paramLengths,
(const int *)paramData->paramFormats,
FLXPostgresResultsAsBinary);
- }
- else {
- // TODO: get rid of exceptions
- [FLXPostgresException raise:FLXPostgresConnectionErrorDomain reason:[NSString stringWithFormat:@"Trying to execute a query that is not of type NSString or FLXPostgresStatement"]];
- return nil;
}
[self _destroyParamDataStructure:paramData];