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

schemachanger/rel: fix race due to failure to clone constraint slots #88670

Merged
merged 1 commit into from
Sep 26, 2022

Commits on Sep 26, 2022

  1. schemachanger/rel: fix race due to failure to clone constraint slots

    The fundamental race here is that while the slots themselves were being copied
    by value, the "any" clauses which are a slice were not. The second bug here is
    that the "inline" values were not being properly reset. That bug could lead to
    problems when the query was run again in the context of a different element
    set. We need to reset those inline values too.
    
    Fixes cockroachdb#88628
    
    Release note: None
    ajwerner committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    8126b7e View commit details
    Browse the repository at this point in the history