mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-21 02:41:07 +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)
|
if (_debugging > 3)
|
||||||
{
|
{
|
||||||
static Class cls = Nil;
|
static Class cls = Nil;
|
||||||
unsigned long rc;
|
NSUInteger rc;
|
||||||
unsigned long ac;
|
NSUInteger ac;
|
||||||
unsigned long uc;
|
NSUInteger uc;
|
||||||
int index;
|
int index;
|
||||||
|
|
||||||
if (Nil == cls)
|
if (Nil == cls)
|
||||||
|
@ -933,9 +933,19 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
[self _unlock];
|
[self _unlock];
|
||||||
return [NSString stringWithFormat:
|
if (NSNotFound == uc)
|
||||||
@" provided %ld times (retained:%lu - autoreleased:%lu)",
|
{
|
||||||
uc, rc, ac];
|
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
|
#endif
|
||||||
return @"";
|
return @"";
|
||||||
|
|
Loading…
Reference in a new issue