From e8bf8bf422b83a55cefd1bdf149f380a822eb880 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Fri, 7 Sep 2012 09:57:31 +0000 Subject: Remove object quoting and keep track of data type support. --- Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m') diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m b/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m index 79951f59..29fcfea6 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m @@ -132,9 +132,7 @@ FLXQueryParamData; for (int i = 0; i < paramData->paramNum; i++) { id nativeObject = [values objectAtIndex:i]; - - NSParameterAssert(nativeObject); - + // Deterime if bound value is an NSNull if ([nativeObject isKindOfClass:[NSNull class]]) { paramData->paramValues[i] = NULL; -- cgit v1.2.3