diff options
author | stuconnolly <stuart02@gmail.com> | 2012-09-07 12:38:31 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-09-07 12:38:31 +0000 |
commit | 3a7d35c9036ab12e16d7696ece62cee548d594f0 (patch) | |
tree | 6200564f824385402b7e69b5f09ed8a3923c40ec /Frameworks | |
parent | c7817b4fcbb09d1909edb540c2626324a2cca5a4 (diff) | |
download | sequelpro-3a7d35c9036ab12e16d7696ece62cee548d594f0.tar.gz sequelpro-3a7d35c9036ab12e16d7696ece62cee548d594f0.tar.bz2 sequelpro-3a7d35c9036ab12e16d7696ece62cee548d594f0.zip |
Tidy up.
Diffstat (limited to 'Frameworks')
-rw-r--r-- | Frameworks/PostgresKit/Source/FLXPostgresError.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresError.m b/Frameworks/PostgresKit/Source/FLXPostgresError.m index 32f8fa72..033c56b0 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresError.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresError.m @@ -33,8 +33,8 @@ @interface FLXPostgresError () -- (void)_extractErrorDetailsFromResult:(PGresult *)result; -- (NSString *)_extractErrorField:(int)field fromResult:(PGresult *)result; +- (void)_extractErrorDetailsFromResult:(const PGresult *)result; +- (NSString *)_extractErrorField:(int)field fromResult:(const PGresult *)result; @end @@ -87,7 +87,7 @@ * * @param result The Postgres result to extract the information from. */ -- (void)_extractErrorDetailsFromResult:(PGresult *)result +- (void)_extractErrorDetailsFromResult:(const PGresult *)result { // Note that we don't expose all the fields that are available. // The ones we don't mostly include information internal to Postgres @@ -113,7 +113,7 @@ * * @return A string representing the error value. The caller is responsible for freeing the associated memory. */ -- (NSString *)_extractErrorField:(int)field fromResult:(PGresult *)result +- (NSString *)_extractErrorField:(int)field fromResult:(const PGresult *)result { return [[NSString alloc] initWithUTF8String:PQresultErrorField(result, field)]; } |