mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-15 16:11:42 +00:00
tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@39142 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ea01e0cb85
commit
03eca5e288
1 changed files with 11 additions and 8 deletions
|
@ -762,16 +762,19 @@ static Class cls = Nil;
|
|||
* so we must therefore re-lock with condition 1.
|
||||
*/
|
||||
cond = 1;
|
||||
if (nil == retainInfo)
|
||||
if (_debugging > 0)
|
||||
{
|
||||
retainInfo = [NSMutableString stringWithCapacity: 100];
|
||||
if (nil == retainInfo)
|
||||
{
|
||||
retainInfo = [NSMutableString stringWithCapacity: 100];
|
||||
}
|
||||
[retainInfo appendFormat:
|
||||
@" Client '%@' (retain count %"PRIuPTR
|
||||
@") %s pool %s connected to server\n",
|
||||
[client name], rc,
|
||||
((_items[index].u > 0) ? "taken from" : "available in"),
|
||||
((YES == connected) ? "and" : "but not")];
|
||||
}
|
||||
[retainInfo appendFormat:
|
||||
@" Client '%@' (retain count %"PRIuPTR
|
||||
@") %s pool %s connected to server\n",
|
||||
[client name], rc,
|
||||
((_items[index].u > 0) ? "taken from" : "available in"),
|
||||
((YES == connected) ? "and" : "but not")];
|
||||
if (YES == connected)
|
||||
{
|
||||
/* Still connected, so we count it as a free connection.
|
||||
|
|
Loading…
Reference in a new issue