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

opt: fix panic in generating tuple IN constraints #27053

Merged
merged 1 commit into from
Jun 28, 2018

Commits on Jun 28, 2018

  1. opt: fix panic in generating tuple IN constraints

    Fixes cockroachdb#27016.
    
    Previously this code would panic if there were no constrainable columns.
    I've added an equivalent test case to the one provided, but it will be
    difficult to run the test provided until cockroachdb#27034 lands. I suspect the
    problem there was with placeholders.
    
    We should also consider adding prepared statement support to opt_tester
    so that we can test situations like that in the future.
    
    Release note (bug fix): Fix a panic in the optimizer with IN filters.
    Justin Jaffray committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    84a7b51 View commit details
    Browse the repository at this point in the history