Prefix all ivars with an underscore.
FossilOrigin-Name: 8c8a4313228bba7114d582a6802a2df53a1fb357f5c0805ae58531dd4c799d8c
This commit is contained in:
parent
7b323460a5
commit
b3eaf2f272
11 changed files with 114 additions and 129 deletions
|
@ -3,19 +3,10 @@
|
|||
@implementation PGConnectionFailedException
|
||||
- (OFString*)description
|
||||
{
|
||||
OFAutoreleasePool *pool;
|
||||
|
||||
if (description != nil)
|
||||
return description;
|
||||
|
||||
pool = [[OFAutoreleasePool alloc] init];
|
||||
description = [[OFString alloc] initWithFormat:
|
||||
return [OFString stringWithFormat:
|
||||
@"Establishing a PostgreSQL connection in class %@ failed:\n%s\n"
|
||||
"Parameters: %@", inClass,
|
||||
PQerrorMessage([connection PG_connection]),
|
||||
[connection parameters]];
|
||||
[pool release];
|
||||
|
||||
return description;
|
||||
"Parameters: %@", [self inClass],
|
||||
PQerrorMessage([_connection PG_connection]),
|
||||
[_connection parameters]];
|
||||
}
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue