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