提交 624761e2 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Add QUALIFY to list of undefined behavior options in FOR UPDATE queries

上级 9de3bf06
...@@ -73,7 +73,7 @@ This clause can be used to reuse the same definition in multiple functions. ...@@ -73,7 +73,7 @@ This clause can be used to reuse the same definition in multiple functions.
If FOR UPDATE is specified, the tables or rows are locked for writing. If FOR UPDATE is specified, the tables or rows are locked for writing.
This clause is not allowed in DISTINCT queries and in queries with non-window aggregates, GROUP BY, or HAVING clauses. This clause is not allowed in DISTINCT queries and in queries with non-window aggregates, GROUP BY, or HAVING clauses.
When using default MVStore engine only the selected rows are locked as in an UPDATE statement; When using default MVStore engine only the selected rows are locked as in an UPDATE statement;
locking behavior for rows that were excluded from result using OFFSET / FETCH is undefined. locking behavior for rows that were excluded from result using OFFSET / FETCH or QUALIFY is undefined.
With PageStore engine the whole tables are locked. With PageStore engine the whole tables are locked.
"," ","
SELECT * FROM TEST; SELECT * FROM TEST;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论