Skip to content

Commit 450f375

Browse files
committed
Fix bitwise logic.
Signed-off-by: Bradley Grainger <[email protected]>
1 parent 4ea42bf commit 450f375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MySqlConnector/Core/ServerSession.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ public async Task<bool> TryResetConnectionAsync(ConnectionSettings cs, MySqlConn
833833
Log.IgnoringFailureInTryResetConnectionAsync(m_logger, ex, Id, "SocketException");
834834
}
835835

836-
Conditions |= ~MySqlConnectionOpenedConditions.Reset;
836+
Conditions &= ~MySqlConnectionOpenedConditions.Reset;
837837
return false;
838838
}
839839

0 commit comments

Comments
 (0)