Skip to content

Commit

Permalink
fix ExpectedSessionState6 call
Browse files Browse the repository at this point in the history
Signed-off-by: Nickolay Batov <[email protected]>
  • Loading branch information
stilettk committed Sep 17, 2023
1 parent 7be4e2a commit 143f619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MySqlConnector/Core/ServerSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1770,7 +1770,7 @@ private void VerifyState(State state1, State state2, State state3, State state4,
{
if (m_state != state1 && m_state != state2 && m_state != state3 && m_state != state4 && m_state != state5 && m_state != state6)
{
ExpectedSessionState6(m_logger, Id, state1, state2, state3, state4, state5, state5, m_state);
ExpectedSessionState6(m_logger, Id, state1, state2, state3, state4, state5, state6, m_state);
throw new InvalidOperationException($"Expected state to be ({state1}|{state2}|{state3}|{state4}|{state5}|{state6}) but was {m_state}.");
}
}
Expand Down

0 comments on commit 143f619

Please sign in to comment.