-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
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
Handle NULL parameters like MySQL #3132
Comments
(Technically you should be using an |
I think the vitess behavior for the use case you showed is correct. It's not able to map a NULL value to a keyspace id. Vitess allows nulls as bind vars, but they should be used with care. For example, |
This is now addressed via #3182 |
…ttler: empty list of probes on non-leader (vitessio#3132) * backport of 3130 * resolved conflict Signed-off-by: Shlomi Noach <[email protected]> --------- Signed-off-by: Shlomi Noach <[email protected]> Co-authored-by: Shlomi Noach <[email protected]>
When you pass in a NULL parameter to a prepared statement query MySQL handles that just fine. Vitess on the other hand gives the following error:
The text was updated successfully, but these errors were encountered: