We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
using (var cmd = new MySqlCommand("SELECT @foo;", connection)) { cmd.Parameters.AddWithValue("foo", 1); cmd.Parameters.AddWithValue("@foo", 2); cmd.ExecuteScalar(); }
Expected: MySqlException: Parameter '@foo' has already been defined.
MySqlException: Parameter '@foo' has already been defined.
Actual: no exception; ExecuteScalar returns 2.
2
(This happens with any combination of foo and @foo as the parameter names.)
foo
@foo
May be fixed as part of #589.
The text was updated successfully, but these errors were encountered:
e255d47
Fixed in 0.48.0.
Sorry, something went wrong.
No branches or pull requests
Expected:
MySqlException: Parameter '@foo' has already been defined.
Actual: no exception; ExecuteScalar returns
2
.(This happens with any combination of
foo
and@foo
as the parameter names.)May be fixed as part of #589.
The text was updated successfully, but these errors were encountered: