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: add FOR UPDATE locking modes to EXPLAIN output #44790

Merged
merged 1 commit into from
Feb 6, 2020

Commits on Feb 6, 2020

  1. sql: add FOR UPDATE locking modes to EXPLAIN output

    Relates to cockroachdb#40205.
    
    This change adds FOR UPDATE locking mode information to the EXPLAIN
    output of scanNodes. This is useful for testing that locking modes are
    being correctly propagated when a FOR [KEY] UPDATE/SHARE locking clause
    is specified. It will be even more useful for testing that locking clauses
    are being implicitly applied to UPDATE, UPSERT, and DELETE statements when
    we start performing that implicit transformation to their underlying scans.
    nvanbenschoten committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    d8d26ae View commit details
    Browse the repository at this point in the history