mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-19 10:00:59 +00:00
tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@39139 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
861e1adb69
commit
07cf82b455
1 changed files with 16 additions and 6 deletions
|
@ -910,9 +910,9 @@
|
|||
if (_debugging > 3)
|
||||
{
|
||||
static Class cls = Nil;
|
||||
unsigned long rc;
|
||||
unsigned long ac;
|
||||
unsigned long uc;
|
||||
NSUInteger rc;
|
||||
NSUInteger ac;
|
||||
NSUInteger uc;
|
||||
int index;
|
||||
|
||||
if (Nil == cls)
|
||||
|
@ -933,9 +933,19 @@
|
|||
}
|
||||
}
|
||||
[self _unlock];
|
||||
return [NSString stringWithFormat:
|
||||
@" provided %ld times (retained:%lu - autoreleased:%lu)",
|
||||
uc, rc, ac];
|
||||
if (NSNotFound == uc)
|
||||
{
|
||||
return [NSString stringWithFormat:
|
||||
@" provided exclusively (retained:%llu - autoreleased:%llu)",
|
||||
(unsigned long long)rc, (unsigned long long)ac];
|
||||
}
|
||||
else
|
||||
{
|
||||
return [NSString stringWithFormat:
|
||||
@" provided %lld times (retained:%llu - autoreleased:%llu)",
|
||||
(unsigned long long)uc,
|
||||
(unsigned long long)rc, (unsigned long long)ac];
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return @"";
|
||||
|
|
Loading…
Reference in a new issue