Skip to content

Commit ee5e903

Browse files
committed
Make minor log message changes.
1 parent af9c415 commit ee5e903

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MySqlConnector/Core/ServerSession.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public void StartQuerying(MySqlCommand command)
143143
public void FinishQuerying()
144144
{
145145
m_logArguments[1] = m_state;
146-
Log.Debug("Session{0} entering FinishQuerying; SessionState = {1}", m_logArguments);
146+
Log.Debug("Session{0} entering FinishQuerying; SessionState={1}", m_logArguments);
147147
bool clearConnection = false;
148148
lock (m_lock)
149149
{
@@ -356,7 +356,7 @@ public async Task<bool> TryResetConnectionAsync(ConnectionSettings cs, IOBehavio
356356
if (ServerVersion.Version.CompareTo(ServerVersions.SupportsResetConnection) >= 0)
357357
{
358358
m_logArguments[1] = ServerVersion.OriginalString;
359-
Log.Debug("Session{0} ServerVersion {1} supports reset connection; sending reset connection request", m_logArguments);
359+
Log.Debug("Session{0} ServerVersion={1} supports reset connection; sending reset connection request", m_logArguments);
360360
await SendAsync(ResetConnectionPayload.Instance, ioBehavior, cancellationToken).ConfigureAwait(false);
361361
var payload = await ReceiveReplyAsync(ioBehavior, cancellationToken).ConfigureAwait(false);
362362
OkPayload.Create(payload);
@@ -370,7 +370,7 @@ public async Task<bool> TryResetConnectionAsync(ConnectionSettings cs, IOBehavio
370370
{
371371
// optimistically hash the password with the challenge from the initial handshake (supported by MariaDB; doesn't appear to be supported by MySQL)
372372
m_logArguments[1] = ServerVersion.OriginalString;
373-
Log.Debug("Session{0} ServerVersion {1} doesn't support reset connection; sending change user request", m_logArguments);
373+
Log.Debug("Session{0} ServerVersion={1} doesn't support reset connection; sending change user request", m_logArguments);
374374
var hashedPassword = AuthenticationUtility.CreateAuthenticationResponse(AuthPluginData, 0, cs.Password);
375375
var payload = ChangeUserPayload.Create(cs.UserID, hashedPassword, cs.Database, m_supportsConnectionAttributes ? s_connectionAttributes : null);
376376
await SendAsync(payload, ioBehavior, cancellationToken).ConfigureAwait(false);

0 commit comments

Comments
 (0)