Skip to content

Commit

Permalink
Include database name.
Browse files Browse the repository at this point in the history
  • Loading branch information
cincuranet committed Jun 2, 2021
1 parent 8261a2e commit 9ce47f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FirebirdMonitorTool.ConsoleProfiler/Profiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static string BuildNodeText(ICommand command)
{
return command switch
{
IAttachmentStart c => $"Attachment {c.ConnectionId}: {c.RemoteProcessName}",
IAttachmentStart c => $"Attachment {c.ConnectionId}: {c.RemoteProcessName} ({c.DatabaseName})",
ITransactionStart c => $"Transaction {c.TransactionId} Start: {c.IsolationMode} (RO: {c.ReadOnly} | RV: {c.RecordVersion} | W: {c.Wait})",
ITransactionEnd c => $"Transaction {c.TransactionId} End ({c.ElapsedTime.TotalMilliseconds} ms): {c.Command}",
IStatementPrepare c => $"Statement {c.StatementId} Prepare ({c.ElapsedTime.TotalMilliseconds} ms): {c.Text.Escape()}",
Expand Down

0 comments on commit 9ce47f1

Please sign in to comment.