Skip to content
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

[datatype] fix equals method for udt datatypes across schema upgrades #63

Merged
merged 1 commit into from
Jul 12, 2022

Conversation

jul-stas
Copy link

This is a cherry-pick from datastax#531. Original description:

We encountered a bug with this driver, where an altered UDT would cause cass_statement_bind_user_type_by_name_n to fail on a prepared statement that was prepared prior to the db altered.

I think that this should be a sensible fix, it for sure fixes our issue... however, I have no idea if this is actually sound!

Unfortunately I do not have a C++ reproducer for this bug, since we use the rust wrapper to this driver, that reproducer is here: https://gist.github.com/jhgg/d009d1fb994a0fd550bd01bb803baee5

Cherry-picked from #datastax/a5a34fb7e1bddab1456829acdb58eab4178d2060
@jul-stas jul-stas merged commit 739b87c into scylladb:master Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants