Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: David Engel <dengel@magnitude.com>
  • Loading branch information
cheenamalhotra and David-Engel committed Feb 4, 2021
1 parent 0e85661 commit d37f465
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ internal bool TryInitialize(TdsParserStateObject stateObj, int columnsCount)
}

SqlClientEventSource.Log.TryAdvancedTraceEvent("TdsParserStateObject.NullBitmap.Initialize | INFO | ADV | State Object Id {0}, NBCROW bitmap received, column count = {1}", stateObj._objectID, columnsCount);
SqlClientEventSource.Log.TryAdvancedTraceBinEvent("TdsParserStateObject.NullBitmap.Initialize | INFO | ADV | State Object Id {0}, NBCROW bitmap data: ", stateObj._objectID, _nullBitmap, (ushort)_nullBitmap.Length);
SqlClientEventSource.Log.TryAdvancedTraceBinEvent("TdsParserStateObject.NullBitmap.Initialize | INFO | ADV | State Object Id {0}, Null Bitmap length {1}, NBCROW bitmap data: {2}", stateObj._objectID, (ushort)_nullBitmap.Length, _nullBitmap);
return true;
}

Expand Down Expand Up @@ -3502,7 +3502,7 @@ internal void SendAttention(bool mustTakeWriteLock = false)
_attentionSending = false;
}

SqlClientEventSource.Log.TryAdvancedTraceBinEvent("TdsParserStateObject.SendAttention | INFO | ADV | State Object Id {0}, Out Buffer {1}, Packet sent: {2}", _objectID, _outBuff, (ushort)_outBytesUsed);
SqlClientEventSource.Log.TryAdvancedTraceBinEvent("TdsParserStateObject.SendAttention | INFO | ADV | State Object Id {0}, Packet sent. Out Buffer {1}, Out Bytes Used: {2}", _objectID, _outBuff, (ushort)_outBytesUsed);
SqlClientEventSource.Log.TryTraceEvent("TdsParserStateObject.SendAttention | Info | State Object Id {0}, Attention sent to the server.", _objectID);

AssertValidState();
Expand Down

0 comments on commit d37f465

Please sign in to comment.