git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@39139 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2015-11-04 07:44:05 +00:00
parent 861e1adb69
commit 07cf82b455

View file

@ -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 @"";