aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2013-01-14 14:56:54 +0000
committerstuconnolly <stuart02@gmail.com>2013-01-14 14:56:54 +0000
commit9c95c180b5465f8ad0fea5d67a39806f6644a4e8 (patch)
tree4999667c2f655f45fece75103aa5f5931db436dc /Frameworks
parentcef4cd6f5f8c3e0278f6b1809e333af42fee5d94 (diff)
downloadsequelpro-9c95c180b5465f8ad0fea5d67a39806f6644a4e8.tar.gz
sequelpro-9c95c180b5465f8ad0fea5d67a39806f6644a4e8.tar.bz2
sequelpro-9c95c180b5465f8ad0fea5d67a39806f6644a4e8.zip
Fix typos.
Diffstat (limited to 'Frameworks')
-rw-r--r--Frameworks/PostgresKit/Source/PGPostgresResult.m2
-rw-r--r--Frameworks/PostgresKit/Source/PGPostgresTypes.h2
-rw-r--r--Frameworks/PostgresKit/Tests/PGDataTypeTests.m2
3 files changed, 4 insertions, 2 deletions
diff --git a/Frameworks/PostgresKit/Source/PGPostgresResult.m b/Frameworks/PostgresKit/Source/PGPostgresResult.m
index 892e8a53..1bf1db06 100644
--- a/Frameworks/PostgresKit/Source/PGPostgresResult.m
+++ b/Frameworks/PostgresKit/Source/PGPostgresResult.m
@@ -245,7 +245,7 @@
id <PGPostgresTypeHandlerProtocol> handler = [self _typeHandlerForColumn:column withType:type];
if (!handler) {
- NSLog(@"PostgresKit: Warning: No type handler found for type %d, return NSData.", type);
+ NSLog(@"PostgresKit: Warning: No type handler found for type %d, returning NSData.", type);
const void *bytes = PQgetvalue(_result, (int)row, (int)column);
NSUInteger length = PQgetlength(_result, (int)row, (int)column);
diff --git a/Frameworks/PostgresKit/Source/PGPostgresTypes.h b/Frameworks/PostgresKit/Source/PGPostgresTypes.h
index 57ad2581..e29933e9 100644
--- a/Frameworks/PostgresKit/Source/PGPostgresTypes.h
+++ b/Frameworks/PostgresKit/Source/PGPostgresTypes.h
@@ -47,7 +47,7 @@ enum
PGPostgresOidOid = 26, // NumberHandler => NSNumber
// JSON
- PGPostgresOidJSON = 114, // StringHandler => NSString
+ PGPostgresOidJSON = 114, // StringHandler => NSString
// XML
PGPostgresOidXML = 142, // StringHandler => NSString
diff --git a/Frameworks/PostgresKit/Tests/PGDataTypeTests.m b/Frameworks/PostgresKit/Tests/PGDataTypeTests.m
index 6165b524..8bea485e 100644
--- a/Frameworks/PostgresKit/Tests/PGDataTypeTests.m
+++ b/Frameworks/PostgresKit/Tests/PGDataTypeTests.m
@@ -104,7 +104,9 @@ static NSUInteger PGTestDatabasePort = 5432;
- (void)setUp
{
+ PGPostgresResult *queryResult = [_connection executeWithFormat:@"SELECT \"%@\" FROM \"data_types\"", _field];
+ _result = [[queryResult row] objectForKey:_field];
}
- (void)tearDown