diff options
author | stuconnolly <stuart02@gmail.com> | 2012-09-08 09:44:25 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-09-08 09:44:25 +0000 |
commit | 66f9f09721647b635e4095c865653b8008c9552e (patch) | |
tree | 549d2984e239533df909225c7c454bee1cc3319b /Frameworks/PostgresKit/Source/FLXPostgresResult.m | |
parent | 3164c029b4c87cf65a8a7f21a85e95b960806b59 (diff) | |
download | sequelpro-66f9f09721647b635e4095c865653b8008c9552e.tar.gz sequelpro-66f9f09721647b635e4095c865653b8008c9552e.tar.bz2 sequelpro-66f9f09721647b635e4095c865653b8008c9552e.zip |
Revert logging changes.
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresResult.m')
-rw-r--r-- | Frameworks/PostgresKit/Source/FLXPostgresResult.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresResult.m b/Frameworks/PostgresKit/Source/FLXPostgresResult.m index 5180a9cb..7136b819 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresResult.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresResult.m @@ -176,7 +176,7 @@ static NSString *FLXPostgresResultError = @"FLXPostgresResultError"; { _fields = malloc(sizeof(NSString *) * _numberOfFields); - for (unsigned int i = 0; i < _numberOfFields; i++) + for (NSUInteger i = 0; i < _numberOfFields; i++) { const char *bytes = PQfname(_result, i); @@ -207,7 +207,7 @@ static NSString *FLXPostgresResultError = @"FLXPostgresResultError"; id <FLXPostgresTypeHandlerProtocol> handler = [self _typeHandlerForColumn:column withType:type]; if (!handler) { - _log(@"PostgresKit: Warning: No type handler found for type %d, return NSData.", type); + NSLog(@"PostgresKit: Warning: No type handler found for type %d, return NSData.", type); const void *bytes = PQgetvalue(_result, row, column); NSUInteger length = PQgetlength(_result, row, column); |