aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks')
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresResult.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresResult.m b/Frameworks/PostgresKit/Source/FLXPostgresResult.m
index 02375650..f2844faa 100644
--- a/Frameworks/PostgresKit/Source/FLXPostgresResult.m
+++ b/Frameworks/PostgresKit/Source/FLXPostgresResult.m
@@ -234,7 +234,7 @@
*/
- (id)_objectForRow:(NSUInteger)row column:(NSUInteger)column
{
- if (row >= _numberOfRows || column >= _numberOfFields) return nil;
+ if (row >= _numberOfRows || column >= _numberOfFields) return [NSNull null];
// Check for null
if (PQgetisnull(_result, (int)row, (int)column)) return [NSNull null];