opt: lock operator is considered a mutation operator #141961
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-queries
SQL Queries Team
The optimizer currently returns true for
IsMutationOp
when called on a Lock operator. This results in some differences in behavior for serializable vs read committed, since read committed can plan a lock operator when serializable performs locking in the scan.Serializable:
Read committed:
Jira issue: CRDB-48092
The text was updated successfully, but these errors were encountered: