diff options
author | stuconnolly <stuart02@gmail.com> | 2012-09-24 13:35:48 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-09-24 13:35:48 +0000 |
commit | cbbd92f713050d0deb3d286be9bc1220108fe285 (patch) | |
tree | 9cb93f00b6271545f0acc42a3b8ddf83e72d4033 /Frameworks/PostgresKit/Source/FLXPostgresTypeDateTimeHandler.m | |
parent | 21e842e7e8edbe9f2ec036b93648bd7459f38af6 (diff) | |
download | sequelpro-cbbd92f713050d0deb3d286be9bc1220108fe285.tar.gz sequelpro-cbbd92f713050d0deb3d286be9bc1220108fe285.tar.bz2 sequelpro-cbbd92f713050d0deb3d286be9bc1220108fe285.zip |
Fix the failure to process the first row in a result set.
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresTypeDateTimeHandler.m')
-rw-r--r-- | Frameworks/PostgresKit/Source/FLXPostgresTypeDateTimeHandler.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresTypeDateTimeHandler.m b/Frameworks/PostgresKit/Source/FLXPostgresTypeDateTimeHandler.m index aa61381b..c4d6a96a 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresTypeDateTimeHandler.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresTypeDateTimeHandler.m @@ -79,7 +79,7 @@ static FLXPostgresOid FLXPostgresTypeDateTimeTypes[] = - (id)objectFromResult { - if (!_result || !_type || !_row || !_column) return [NSNull null]; + if (!_result || !_type) return [NSNull null]; switch (_type) { |