mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-06-04 19:11:13 +00:00
Tidy loging
This commit is contained in:
parent
76e72d3c0f
commit
76fd64f7c3
1 changed files with 6 additions and 2 deletions
|
@ -2814,6 +2814,8 @@ static int poolConnections = 0;
|
|||
{
|
||||
[m appendFormat: @" %@;\n", statement];
|
||||
}
|
||||
[m appendFormat: @" affecting %"PRIdPTR" record%s\n",
|
||||
result, ((1 == result) ? "" : "s")];
|
||||
}
|
||||
else if ([self debugging] > 1)
|
||||
{
|
||||
|
@ -2823,14 +2825,16 @@ static int poolConnections = 0;
|
|||
*/
|
||||
m = [NSMutableString stringWithFormat:
|
||||
@"Duration %g for statement %@", d, info];
|
||||
[m appendFormat: @" affecting %"PRIdPTR" record%s",
|
||||
result, ((1 == result) ? "" : "s")];
|
||||
}
|
||||
else
|
||||
{
|
||||
m = [NSMutableString stringWithFormat:
|
||||
@"Duration %g for statement %@", d, statement];
|
||||
[m appendFormat: @" affecting %"PRIdPTR" record%s",
|
||||
result, ((1 == result) ? "" : "s")];
|
||||
}
|
||||
[m appendFormat: @" affecting %"PRIdPTR" record%s\n",
|
||||
result, ((1 == result) ? "" : "s")];
|
||||
debug = m;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue