Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When MySqlCnnnection Close, don't change m_hasBeenOpened to false. So,I can't set connection.ConnectionString wheen I call connection.Close().
The text was updated successfully, but these errors were encountered:
The following code fails, but it should work:
using (var connection = new MySqlConnection()) { connection.ConnectionString = connectionString1; connection.Open(); connection.Close(); connection.ConnectionString = connectionString2; // fails here connection.Open(); connection.Close(); }
Sorry, something went wrong.
Change connection string when closed. Fixes #543
1608503
91f5068
Fixed in 0.44.0.
bgrainger
No branches or pull requests
When MySqlCnnnection Close, don't change m_hasBeenOpened to false.
So,I can't set connection.ConnectionString wheen I call connection.Close().
The text was updated successfully, but these errors were encountered: