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?
to your account
If MySqlParameter is inserted into MySqlCommand.Parameters collection using MySqlParameterCollection.Insert, then the MySqlParameter.Value is not used.
var command = connection.CreateCommand();
var parameter = new MySqlParameter("@Id", MySqlDbType.Int32);
parameter.Value = 5;
command.CommandText = "SELECT @Id";
var value = command.ExecuteScalar(); // returns DBNull
The text was updated successfully, but these errors were encountered:
Pre-release fix available in 1.0.1-beta.0.22 at GitHub Packages: https://github.com/mysql-net/MySqlConnector/packages/39735
Sorry, something went wrong.
Fixed in 1.0.1.
No branches or pull requests