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

sql: disallow using cluster_logical_timestamp as column default when backfilling #98696

Commits on Mar 17, 2023

  1. sql: disallow using cluster_logical_timestamp as column default when …

    …backfilling
    
    Previously, `ADD COLUMN ... DEFAULT cluster_logical_timestamp()` would
    crash the node and leave the table in a corrupt state. The root cause
    is a nil pointer dereference. This commit fixed it by returning an
    unimplemented error and hence disallow using this builtin function as
    default value when backfilling.
    
    Release note (bug fix): fixed a bug as detailed in cockroachdb#98269.
    Xiang-Gu committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    796cf66 View commit details
    Browse the repository at this point in the history