Skip to content

Commit

Permalink
sql: add FOR UPDATE locking modes to EXPLAIN output
Browse files Browse the repository at this point in the history
Relates to #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.
  • Loading branch information
nvanbenschoten committed Feb 6, 2020
1 parent 5147799 commit d8d26ae
Show file tree
Hide file tree
Showing 4 changed files with 1,112 additions and 1 deletion.
Loading

0 comments on commit d8d26ae

Please sign in to comment.